File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 1- name : Build
2-
3- on : [push, pull_request]
4-
51jobs :
62 build :
73 runs-on : ubuntu-latest
4+ strategy :
5+ matrix :
6+ include :
7+ - target : thumbv6m-none-eabi
8+ dir : neotron-bmc-pico/
9+ - target : thumbv7m-none-eabihf
10+ dir : neotron-bmc-nucleo/
811 steps :
9- - name : Checkout
12+ - name : Checkout source code
1013 uses : actions/checkout@v1
1114 with :
1215 submodules : true
1316 - name : Add Target
14- run : rustup target add thumbv6m-none-eabi
17+ run : rustup target add ${{ matrix.target }}
1518 - name : Install flip-link
1619 run : cd / && cargo install flip-link
17- - name : Build
18- run : cargo build --release --verbose --target=thumbv6m-none-eabi
20+ - name : Build project
21+ run : cd ${{ matrix.dir }} && cargo build --release --verbose --target=${{ matrix.target }}
You can’t perform that action at this time.
0 commit comments