Skip to content

Commit

Permalink
Configure CI for new backends
Browse files Browse the repository at this point in the history
  • Loading branch information
romancardenas committed Jan 28, 2025
1 parent 9699c36 commit 954135f
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ jobs:
backend:
- riscv32-imc-clint
- riscv32-imac-clint
- riscv32-imc-mecall
- riscv32-imac-mecall
toolchain:
- stable
steps:
Expand All @@ -175,13 +177,8 @@ jobs:
uses: Swatinem/rust-cache@v2

- name: Check the examples
if: ${{ matrix.backend == 'riscv32-imc-clint' }}
run: cargo xtask --platform hifive1 --backend ${{ matrix.backend }} --exampleexclude static example-check

- name: Check the examples
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)
Expand Down Expand Up @@ -342,6 +339,8 @@ jobs:
backend:
- riscv32-imc-clint
- riscv32-imac-clint
- riscv32-imc-mecall
- riscv32-imac-mecall
toolchain:
- stable
steps:
Expand Down Expand Up @@ -389,13 +388,8 @@ jobs:
which qemu-system-riscv32
- name: Run-pass tests
if: ${{ matrix.backend == 'riscv32-imc-clint' }}
run: cargo xtask --deny-warnings --platform hifive1 --backend ${{ matrix.backend }} --exampleexclude static qemu

- name: Run-pass tests
if: ${{ matrix.backend != 'riscv32-imc-clint' }}
run: cargo xtask --deny-warnings --platform hifive1 --backend ${{ matrix.backend }} qemu

# Platform esp32c3: verify the example output with run-pass tests
testexamplesesp32c3:
name: QEMU run (esp32c3)
Expand Down

0 comments on commit 954135f

Please sign in to comment.