editing build script

This commit is contained in:
cole 2023-02-19 18:39:49 -08:00
parent 1ae2de4315
commit 730a18437c
2 changed files with 7 additions and 3 deletions

View File

@ -23,7 +23,7 @@ jobs:
- name: Sleep for 10s
uses: juliangruber/sleep-action@v1
with:
time: 60s
time: 10s
- name: look at dir
id: pl2

View File

@ -1,9 +1,13 @@
#!/bin/sh
echo "building mpy"
ls compiled
find kmk/ -name "*.py" -exec sh -c 'mkdir -p compiled/8/$(dirname {}) &&\
./mpy-cross-8 -O2 {} -o compiled/8/$(dirname {})/$(basename -s .py {}).mpy' \;
find kmk/ -name "*.py" -exec sh -c 'mkdir -p compiled/7/$(dirname {}) &&\
./mpy-cross-7 -O2 {} -o compiled/7/$(dirname {})/$(basename -s .py {}).mpy' \;
./mpy-cross-7 -O2 {} -o compiled/7/$(dirname {})/$(basename -s .py {}).mpy' \;
ls compiled/
echo "done building"