diff options
| author | onsdagens <112828711+onsdagens@users.noreply.github.com> | 2024-04-04 11:35:41 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-04 09:35:41 +0000 |
| commit | 906278e31026df8874b1b1593af8f92ce6d7e247 (patch) | |
| tree | d77ade2744c2c13d2706831236e7904ffd183435 /.github/workflows/build.yml | |
| parent | 53ed7bf7edb21180cb18c0bf6a7dbe6168331879 (diff) | |
Adjust esp32c3 codegen, bump pac to 0.21.0 (#906)
* adjust esp32c3 codegen, bump pac to 0.21.0
* add esp32c3 example
* adjust workflow flags
* CI: Fix esp32c3 comment
* esp32c3: Remove commented out git-dep
* CI: Actually check the ESP32-C3 examples
* Autoformat rtic/cargo.toml
---------
Co-authored-by: Henrik Tjäder <henrik@tjaders.com>
Diffstat (limited to '.github/workflows/build.yml')
| -rw-r--r-- | .github/workflows/build.yml | 30 |
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 |
