From b795538e9e6a3ec61294667e181bdebbff78d5a5 Mon Sep 17 00:00:00 2001 From: Ryan Butler Date: Mon, 30 Jan 2023 22:00:35 -0500 Subject: [PATCH 1/2] No longer test all imus in CI --- .github/workflows/firmware-ci.yml | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/.github/workflows/firmware-ci.yml b/.github/workflows/firmware-ci.yml index 3fb9c88f..0b2e814b 100644 --- a/.github/workflows/firmware-ci.yml +++ b/.github/workflows/firmware-ci.yml @@ -39,7 +39,6 @@ jobs: strategy: matrix: mcu: [mcu-esp32c3, mcu-esp32, mcu-nrf52840, mcu-nrf52832] - imu: [imu-stubbed] # dont add IMUs here net: [net-stubbed, net-wifi] log: [log-rtt, log-usb-serial, log-uart] include: @@ -55,22 +54,6 @@ jobs: target: thumbv7em-none-eabihf boot: nrf-boot-s132 - - mcu: mcu-esp32c3 - net: net-stubbed - log: log-uart - target: riscv32imc-unknown-none-elf - imu: imu-mpu6050 - - mcu: mcu-esp32c3 - net: net-stubbed - log: log-uart - target: riscv32imc-unknown-none-elf - imu: imu-bmi160 - # add IMUs inside the include so they are only ran once - # - mcu: mcu-esp32c3 - # net: net-stubbed - # log: log-uart - # target: riscv32imc-unknown-none-elf - # imu: imu-bno08x exclude: - mcu: mcu-esp32 log: log-usb-serial @@ -85,7 +68,7 @@ jobs: net: net-wifi env: - FEATURES: ${{ format('{0},{1},{2},{3},{4}', matrix.mcu, matrix.imu, matrix.net, matrix.log, matrix.boot) }} + FEATURES: ${{ format('{0},{1},{2},{3},imu-stubbed', matrix.mcu, matrix.net, matrix.log, matrix.boot) }} defaults: run: working-directory: ./firmware From a37eb943e738ff8f9f19ef62730d115ecaa65368 Mon Sep 17 00:00:00 2001 From: Ryan Butler Date: Mon, 30 Jan 2023 22:06:34 -0500 Subject: [PATCH 2/2] Now format all packages in firmware --- .github/workflows/firmware-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/firmware-ci.yml b/.github/workflows/firmware-ci.yml index 0b2e814b..dafcef6a 100644 --- a/.github/workflows/firmware-ci.yml +++ b/.github/workflows/firmware-ci.yml @@ -30,7 +30,7 @@ jobs: workspaces: "./firmware -> target/" - name: Check formatting - run: cargo fmt --check + run: cargo fmt --check --all build: name: Build