File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Build RAPID-0 Boards
2+
3+ on :
4+ push :
5+
6+ jobs :
7+ build :
8+ runs-on : ubuntu-latest
9+ strategy :
10+ matrix :
11+ board : [rapid0_adcs, rapid0_cdh, rapid0_eps]
12+ steps :
13+ - name : Set up repository
14+ uses : actions/checkout@v4
15+ with :
16+ submodules : false
17+ show-progress : false
18+ fetch-depth : 1
19+ - name : Set up python
20+ uses : actions/setup-python@v5
21+ with :
22+ python-version : 3.x
23+ - name : Set up ports
24+ id : set-up-port
25+ uses : ./.github/actions/deps/ports
26+ with :
27+ board : ${{ matrix.board }}
28+ - name : Set up submodules
29+ id : set-up-submodules
30+ uses : ./.github/actions/deps/submodules
31+ with :
32+ action : cache
33+ version : true
34+ - name : Set up external
35+ uses : ./.github/actions/deps/external
36+ with :
37+ action : cache
38+ port : ${{ steps.set-up-port.outputs.port }}
39+ - name : Set up mpy-cross
40+ if : steps.set-up-submodules.outputs.frozen == 'True'
41+ uses : ./.github/actions/mpy_cross
42+ with :
43+ cp-version : ${{ steps.set-up-submodules.outputs.version }}
44+ download : false
45+ - name : Build boards
46+ run : make -j4 -C ports/atmel-samd BOARD=${{ matrix.board }}
47+ - name : Upload artifacts
48+ uses : actions/upload-artifact@v4
49+ with :
50+ name : ${{ matrix.board }}
51+ path : ports/atmel-samd/build-${{ matrix.board }}/firmware.*
52+ overwrite : true
53+
You can’t perform that action at this time.
0 commit comments