Skip to content

Commit 4a3d984

Browse files
authored
add r9/s9 to the job matrix. (#276)
* add r9/s9 to the job matrix. Even with incomplete support, should still ensure that things compile enable specific examples as support is filled out * comment on lack of examples
1 parent 0e66113 commit 4a3d984

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,34 @@ jobs:
5151
with:
5252
command: test
5353
args: --lib --target x86_64-unknown-linux-gnu --features rt,unproven,${{ matrix.mcu }}
54+
55+
ci-r9:
56+
runs-on: ubuntu-latest
57+
strategy:
58+
matrix:
59+
rust:
60+
- stable
61+
mcu:
62+
- stm32l4r9
63+
- stm32l4s9
64+
65+
steps:
66+
- uses: actions/checkout@v2
67+
- uses: actions-rs/toolchain@v1
68+
with:
69+
profile: minimal
70+
toolchain: ${{ matrix.rust }}
71+
target: thumbv7em-none-eabihf
72+
override: true
73+
- name: build
74+
uses: actions-rs/cargo@v1
75+
with:
76+
use-cross: true
77+
command: build
78+
args: --verbose --release --target thumbv7em-none-eabihf --features rt,unproven,${{ matrix.mcu }}
79+
# note that examples were not built
80+
- name: test
81+
uses: actions-rs/cargo@v1
82+
with:
83+
command: test
84+
args: --lib --target x86_64-unknown-linux-gnu --features rt,unproven,${{ matrix.mcu }}

0 commit comments

Comments
 (0)