Skip to content

Commit

Permalink
chore(CI): Sort --package and --features arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Oct 31, 2024
1 parent c274f0e commit afd3691
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,47 +168,47 @@ jobs:
-p riot-rs-embassy \
-p riot-rs-embassy-common \
-p riot-rs-identity \
-p riot-rs-macros \
-p riot-rs-runqueue \
-p riot-rs-threads \
-p riot-rs-macros \
cargo test \
-p coapcore \
-p rbi \
-p ringbuffer \
-p coapcore \
# We need to set `RUSTDOCFLAGS` as well in the following jobs, because it
# is used for doc tests.
- name: cargo test for RP
run: |
RUSTDOCFLAGS='--cfg context="rp2040"' RUSTFLAGS='--cfg context="rp2040"' cargo test \
--features "
embassy-rp/rp2040,
external-interrupts,
i2c,
spi,
embassy-rp/rp2040,
" \
-p riot-rs-rp
- name: cargo test for nRF
run: |
RUSTDOCFLAGS='--cfg context="nrf52840"' RUSTFLAGS='--cfg context="nrf52840"' cargo test \
--features "
embassy-nrf/nrf52840,
external-interrupts,
i2c,
spi,
embassy-nrf/nrf52840,
" \
-p riot-rs-nrf
- name: cargo test for STM32
run: |
RUSTDOCFLAGS='--cfg context="stm32wb55rgvx"' RUSTFLAGS='--cfg context="stm32wb55rgvx"' cargo test \
--features "
embassy-stm32/stm32wb55rg,
external-interrupts,
i2c,
spi,
embassy-stm32/stm32wb55rg,
" \
-p riot-rs-stm32
Expand Down Expand Up @@ -262,9 +262,9 @@ jobs:
--verbose
--locked
--features "
external-interrupts,
net,
no-boards,
external-interrupts,
spi,
storage,
"
Expand Down Expand Up @@ -295,11 +295,11 @@ jobs:
--locked
--target=riscv32imac-unknown-none-elf
--features "
esp-hal-embassy/esp32c6,
esp-hal/esp32c6,
external-interrupts,
i2c,
spi,
esp-hal/esp32c6,
esp-hal-embassy/esp32c6,
"
-p riot-rs-esp
--
Expand All @@ -313,10 +313,10 @@ jobs:
--verbose
--locked
--features "
embassy-rp/rp2040,
external-interrupts,
i2c,
spi,
embassy-rp/rp2040,
"
-p riot-rs-rp
--
Expand All @@ -330,10 +330,10 @@ jobs:
--verbose
--locked
--features "
embassy-nrf/nrf52840,
external-interrupts,
i2c,
spi,
embassy-nrf/nrf52840,
"
-p riot-rs-nrf
--
Expand All @@ -347,10 +347,10 @@ jobs:
--verbose
--locked
--features "
embassy-stm32/stm32wb55rg,
external-interrupts,
i2c,
spi,
embassy-stm32/stm32wb55rg,
"
-p riot-rs-stm32
--
Expand Down Expand Up @@ -386,44 +386,44 @@ jobs:
RUSTDOCFLAGS='-D warnings --cfg context="esp32c6"' cargo doc \
--target=riscv32imac-unknown-none-elf \
--features "
esp-hal-embassy/esp32c6,
esp-hal/esp32c6,
external-interrupts,
i2c,
spi,
esp-hal/esp32c6,
esp-hal-embassy/esp32c6,
" \
-p riot-rs-esp
- name: rustdoc for RP
run: |
RUSTDOCFLAGS='-D warnings --cfg context="rp2040"' cargo doc \
--features "
embassy-rp/rp2040,
external-interrupts,
i2c,
spi,
embassy-rp/rp2040,
" \
-p riot-rs-rp
- name: rustdoc for nRF
run: |
RUSTDOCFLAGS='-D warnings --cfg context="nrf52840"' cargo doc \
--features "
embassy-nrf/nrf52840,
external-interrupts,
i2c,
spi,
embassy-nrf/nrf52840,
" \
-p riot-rs-nrf
- name: rustdoc for STM32
run: |
RUSTDOCFLAGS='-D warnings --cfg context="stm32wb55rgvx"' cargo doc \
--features "
embassy-stm32/stm32wb55rg,
external-interrupts,
i2c,
spi,
embassy-stm32/stm32wb55rg,
" \
-p riot-rs-stm32
Expand Down

0 comments on commit afd3691

Please sign in to comment.