Skip to content

Commit

Permalink
fixup! fixup! feat: add an I2C controller abstraction
Browse files Browse the repository at this point in the history
  • Loading branch information
ROMemories committed Sep 20, 2024
1 parent 1e43c92 commit 4d72580
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d72580

Please sign in to comment.