File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Build
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+ workflow_dispatch :
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ steps :
16+
17+ - name : Install build deps
18+ shell : bash
19+ run : |
20+ sudo apt-get install -y \
21+ gcc-arm-none-eabi \
22+ libnewlib-arm-none-eabi \
23+ dosfstools
24+
25+ - name : Checkout
26+ uses : actions/checkout@v4
27+
28+ - name : Render webconfig
29+ shell : bash
30+ working-directory : webconfig
31+ run : make
32+
33+ - name : Build disk image
34+ shell : bash
35+ working-directory : disk
36+ run : ./create.sh
37+
38+ - name : Build firmware
39+ shell : bash
40+ run : |
41+ cmake -S . -B build
42+ cmake --build build
43+
44+ - name : Publish artifacts
45+ uses : actions/upload-artifact@v4
46+ with :
47+ name : deskhop-gha-${{ github.run_number }}
48+ path : build/deskhop.uf2
You can’t perform that action at this time.
0 commit comments