mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-12-01 16:04:33 +01:00
Added CI
This commit is contained in:
parent
956540027d
commit
4366b5ced1
1 changed files with 28 additions and 0 deletions
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
|
@ -208,6 +208,33 @@ jobs:
|
||||||
- name: Check the examples
|
- name: Check the examples
|
||||||
run: cargo xtask --platform esp32-c3 --backend ${{ matrix.backend }} example-check
|
run: cargo xtask --platform esp32-c3 --backend ${{ matrix.backend }} example-check
|
||||||
|
|
||||||
|
# Platform esp32c6: verify all examples, checks
|
||||||
|
checkexamplesesp32c6:
|
||||||
|
name: check examples (esp32c6)
|
||||||
|
runs-on: ubuntu-22.04
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
backend:
|
||||||
|
- riscv-esp32-c6
|
||||||
|
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 riscv32imac-unknown-none-elf
|
||||||
|
|
||||||
|
- name: Configure Rust target
|
||||||
|
run: |
|
||||||
|
rustup target add riscv32imac-unknown-none-elf
|
||||||
|
|
||||||
|
- name: Cache Dependencies
|
||||||
|
uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
|
- name: Check the examples
|
||||||
|
run: cargo xtask --platform esp32-c6 --backend ${{ matrix.backend }} example-check
|
||||||
|
|
||||||
buildqemu:
|
buildqemu:
|
||||||
name: Get modern QEMU, build and store
|
name: Get modern QEMU, build and store
|
||||||
|
@ -823,6 +850,7 @@ jobs:
|
||||||
- checkexampleslm3s6965
|
- checkexampleslm3s6965
|
||||||
- checkexampleshifive1
|
- checkexampleshifive1
|
||||||
- checkexamplesesp32c3
|
- checkexamplesesp32c3
|
||||||
|
- checkexamplesesp32c6
|
||||||
- testexampleslm3s6965
|
- testexampleslm3s6965
|
||||||
- testexampleshifive1
|
- testexampleshifive1
|
||||||
- tests
|
- tests
|
||||||
|
|
Loading…
Reference in a new issue