aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 3a4ed8f..164c538 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -180,6 +180,35 @@ jobs:
if: ${{ matrix.backend != 'riscv32-imc-clint' }}
run: cargo xtask --platform hifive1 --backend ${{ matrix.backend }} example-check
+ # Platform esp32c3: verify all examples, checks
+ checkexamplesesp32c3:
+ name: check examples (esp32c3)
+ runs-on: ubuntu-22.04
+ strategy:
+ matrix:
+ backend:
+ - riscv-esp32-c3
+ toolchain:
+ - nightly
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Install Rust ${{ matrix.toolchain }}
+ run: |
+ rustup toolchain install nightly-2023-11-14 --component rust-src --target riscv32imc-unknown-none-elf
+
+ - name: Configure Rust target
+ run: |
+ rustup target add riscv32imc-unknown-none-elf
+
+ - name: Cache Dependencies
+ uses: Swatinem/rust-cache@v2
+
+ - name: Check the examples
+ run: cargo xtask --platform esp32-c3 --backend ${{ matrix.backend }} example-check
+
+
buildqemu:
name: Get modern QEMU, build and store
runs-on: ubuntu-22.04
@@ -797,6 +826,7 @@ jobs:
# clippyhifive1 TODO
- checkexampleslm3s6965
- checkexampleshifive1
+ - checkexamplesesp32c3
- testexampleslm3s6965
- testexampleshifive1
- tests