Skip to content

Commit 7fb7acc

Browse files
authored
No longer test all imus in CI (#171)
* No longer test all imus in CI * Now format all packages in firmware
1 parent 3a88cdb commit 7fb7acc

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

.github/workflows/firmware-ci.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
workspaces: "./firmware -> target/"
3131

3232
- name: Check formatting
33-
run: cargo fmt --check
33+
run: cargo fmt --check --all
3434

3535
build:
3636
name: Build
@@ -39,7 +39,6 @@ jobs:
3939
strategy:
4040
matrix:
4141
mcu: [mcu-esp32c3, mcu-esp32, mcu-nrf52840, mcu-nrf52832]
42-
imu: [imu-stubbed] # dont add IMUs here
4342
net: [net-stubbed, net-wifi]
4443
log: [log-rtt, log-usb-serial, log-uart]
4544
include:
@@ -55,22 +54,6 @@ jobs:
5554
target: thumbv7em-none-eabihf
5655
boot: nrf-boot-s132
5756

58-
- mcu: mcu-esp32c3
59-
net: net-stubbed
60-
log: log-uart
61-
target: riscv32imc-unknown-none-elf
62-
imu: imu-mpu6050
63-
- mcu: mcu-esp32c3
64-
net: net-stubbed
65-
log: log-uart
66-
target: riscv32imc-unknown-none-elf
67-
imu: imu-bmi160
68-
# add IMUs inside the include so they are only ran once
69-
# - mcu: mcu-esp32c3
70-
# net: net-stubbed
71-
# log: log-uart
72-
# target: riscv32imc-unknown-none-elf
73-
# imu: imu-bno08x
7457
exclude:
7558
- mcu: mcu-esp32
7659
log: log-usb-serial
@@ -85,7 +68,7 @@ jobs:
8568
net: net-wifi
8669

8770
env:
88-
FEATURES: ${{ format('{0},{1},{2},{3},{4}', matrix.mcu, matrix.imu, matrix.net, matrix.log, matrix.boot) }}
71+
FEATURES: ${{ format('{0},{1},{2},{3},imu-stubbed', matrix.mcu, matrix.net, matrix.log, matrix.boot) }}
8972
defaults:
9073
run:
9174
working-directory: ./firmware

0 commit comments

Comments
 (0)