File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33on :
44 pull_request :
55 branches : [main]
6+ paths :
7+ - ' src/**'
68
79jobs :
810 lint :
3436 source ./aliases.sh
3537 chmod +x ./aliases.sh
3638 ./aliases.sh
37- - name : Copy src foldet to sdk
39+ - name : Copy src folder to sdk
3840 run : |
3941 rsync -a --delete ./src/ ./microbit-v2-sdk/source/
4042 - name : microbuild python
Original file line number Diff line number Diff line change 1+ name : Release Build
2+
3+ on :
4+ push :
5+ tags :
6+ - ' v*'
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v4
15+
16+ - name : Install build dependencies
17+ run : sudo apt install -y gcc python3 cmake gcc-arm-none-eabi binutils-arm-none-eabi
18+
19+ - name : Run microinstall
20+ run : |
21+ chmod +x microinstall.sh
22+ ./microinstall.sh
23+
24+ - name : Run microbuild
25+ run : |
26+ chmod +x microbuild.sh
27+ ./microbuild.sh
28+
29+ - name : Upload MICROBIT.hex artifact
30+ uses : actions/upload-artifact@v4
31+ with :
32+ name : MICROBIT-hex-${{ github.ref_name }}
33+ path : MICROBIT.hex
You can’t perform that action at this time.
0 commit comments