Skip to content

Commit

Permalink
fixup! chore(CI): Line break long command line invocations
Browse files Browse the repository at this point in the history
This adds trailing commas to features, which Cargo accepts, and trailing
backslashes to shell commands (which sh accepts).

Both make sorting them easier (because the last item is not special any
more).
  • Loading branch information
chrysn committed Oct 30, 2024
1 parent cdc59dd commit d0bfdd6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ jobs:
spi,
storage,
threading,
usb"
usb,
"
echo "<meta http-equiv=\"refresh\" content=\"0; url=riot_rs\">" > target/doc/index.html
mkdir -p ./_site/dev/docs/api && mv target/doc/* ./_site/dev/docs/api
Expand Down
27 changes: 14 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,19 +162,20 @@ jobs:
external-interrupts,
i2c,
no-boards,
spi
spi,
" \
-p riot-rs \
-p riot-rs-embassy \
-p riot-rs-embassy-common \
-p riot-rs-identity \
-p riot-rs-runqueue \
-p riot-rs-threads \
-p riot-rs-macros
-p riot-rs-macros \
cargo test \
-p rbi \
-p ringbuffer \
-p coapcore
-p coapcore \
# We need to set `RUSTDOCFLAGS` as well in the following jobs, because it
# is used for doc tests.
Expand Down Expand Up @@ -241,7 +242,7 @@ jobs:
no-boards,
external-interrupts,
spi,
storage
storage,
"
-p riot-rs
-p riot-rs-arch
Expand Down Expand Up @@ -274,7 +275,7 @@ jobs:
i2c,
spi,
esp-hal/esp32c6,
esp-hal-embassy/esp32c6
esp-hal-embassy/esp32c6,
"
-p riot-rs-esp
--
Expand All @@ -291,7 +292,7 @@ jobs:
external-interrupts,
i2c,
spi,
embassy-rp/rp2040
embassy-rp/rp2040,
"
-p riot-rs-rp
--
Expand All @@ -308,7 +309,7 @@ jobs:
external-interrupts,
i2c,
spi,
embassy-nrf/nrf52840
embassy-nrf/nrf52840,
"
-p riot-rs-nrf
--
Expand All @@ -325,7 +326,7 @@ jobs:
external-interrupts,
i2c,
spi,
embassy-stm32/stm32wb55rg
embassy-stm32/stm32wb55rg,
"
-p riot-rs-stm32
--
Expand Down Expand Up @@ -353,7 +354,7 @@ jobs:
spi,
storage,
threading,
usb
usb,
"
- name: rustdoc for ESP32
Expand All @@ -365,7 +366,7 @@ jobs:
i2c,
spi,
esp-hal/esp32c6,
esp-hal-embassy/esp32c6
esp-hal-embassy/esp32c6,
" \
-p riot-rs-esp
Expand All @@ -376,7 +377,7 @@ jobs:
external-interrupts,
i2c,
spi,
embassy-rp/rp2040
embassy-rp/rp2040,
" \
-p riot-rs-rp
Expand All @@ -387,7 +388,7 @@ jobs:
external-interrupts,
i2c,
spi,
embassy-nrf/nrf52840
embassy-nrf/nrf52840,
" \
-p riot-rs-nrf
Expand All @@ -398,7 +399,7 @@ jobs:
external-interrupts,
i2c,
spi,
embassy-stm32/stm32wb55rg
embassy-stm32/stm32wb55rg,
" \
-p riot-rs-stm32
Expand Down

0 comments on commit d0bfdd6

Please sign in to comment.