From 514fd3284099b4b69382fb7f83409020d0eed6b2 Mon Sep 17 00:00:00 2001 From: ROMemories <152802150+ROMemories@users.noreply.github.com> Date: Fri, 20 Sep 2024 16:18:49 +0200 Subject: [PATCH] ci: cargo test `riot-rs-esp` as well --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index d9f3c736d..564ca4262 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -115,6 +115,9 @@ jobs: # We need to set `RUSTDOCFLAGS` as well in the following jobs, because it # is used for doc tests. + - name: cargo test for ESP32 + run: RUSTDOCFLAGS='--cfg context="esp32c6"' RUSTFLAGS='--cfg context="esp32c6"' cargo test --features external-interrupts,i2c,'esp-hal/esp32c6','esp-hal-embassy/esp32c6' -p riot-rs-esp + - name: cargo test for RP run: RUSTDOCFLAGS='--cfg context="rp2040"' RUSTFLAGS='--cfg context="rp2040"' cargo test --features external-interrupts,i2c,embassy-rp/rp2040 -p riot-rs-rp