From 4d7258061aed4e43902c7f95ec30f552c1408646 Mon Sep 17 00:00:00 2001 From: ROMemories <152802150+ROMemories@users.noreply.github.com> Date: Fri, 20 Sep 2024 14:14:21 +0200 Subject: [PATCH] fixup! fixup! feat: add an I2C controller abstraction --- .github/workflows/main.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7f22d0064..5303b0bea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -113,17 +113,14 @@ jobs: cargo test --no-default-features --features i2c,no-boards -p riot-rs -p riot-rs-embassy -p riot-rs-runqueue -p riot-rs-threads -p riot-rs-macros cargo test -p rbi -p ringbuffer -p coapcore - - run: echo 'RUSTFLAGS=--cfg context="rp2040"' >> $GITHUB_ENV - name: cargo test for RP - run: cargo test --features external-interrupts,i2c,embassy-rp/rp2040 -p riot-rs-rp + run: RUSTFLAGS='--cfg context="rp2040"' cargo test --features external-interrupts,i2c,embassy-rp/rp2040 -p riot-rs-rp - - run: echo 'RUSTFLAGS=--cfg context="nrf52840"' >> $GITHUB_ENV - name: cargo test for nRF - run: cargo test --features external-interrupts,i2c,'embassy-nrf/nrf52840' -p riot-rs-nrf + run: RUSTFLAGS='--cfg context="nrf52840"' cargo test --features external-interrupts,i2c,'embassy-nrf/nrf52840' -p riot-rs-nrf - - run: echo 'RUSTFLAGS=--cfg context="stm32wb55rg"' >> $GITHUB_ENV - name: cargo test for STM32 - run: cargo test --features external-interrupts,i2c,'embassy-stm32/stm32wb55rg' -p riot-rs-stm32 + run: RUSTFLAGS='--cfg context="stm32wb55rg"' cargo test --features external-interrupts,i2c,'embassy-stm32/stm32wb55rg' -p riot-rs-stm32 lint: runs-on: ubuntu-latest