editing build script
This commit is contained in:
parent
1ae2de4315
commit
730a18437c
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user