Merge pull request #23 from 9names/add_thumbv8m.main-none-eabi_ci #58
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: [push, pull_request] | |
| name: Build and Test check | |
| jobs: | |
| check-arm: | |
| name: cargo-check (ARM) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| target: thumbv8m.main-none-eabihf | |
| - run: cargo build --target=thumbv8m.main-none-eabihf | |
| check-arm-softfloat: | |
| name: cargo-check (ARM softfloat) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| target: thumbv8m.main-none-eabi | |
| - run: cargo build --target=thumbv8m.main-none-eabi | |
| check-riscv: | |
| name: cargo-check (RISC-V) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| target: riscv32imac-unknown-none-elf | |
| - run: cargo build --target=riscv32imac-unknown-none-elf | |
| check-arm-softfloat-msrv: | |
| name: cargo-check on MSRV (ARM softfloat) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@master | |
| with: | |
| target: thumbv8m.main-none-eabi | |
| toolchain: 1.81.0 | |
| - run: cargo build --target=thumbv8m.main-none-eabi | |
| check-arm-msrv: | |
| name: cargo-check on MSRV (ARM) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@master | |
| with: | |
| target: thumbv8m.main-none-eabihf | |
| toolchain: 1.81.0 | |
| - run: cargo build --target=thumbv8m.main-none-eabihf | |
| check-riscv-msrv: | |
| name: cargo-check on MSRV (RISC-V) | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@master | |
| with: | |
| target: riscv32imac-unknown-none-elf | |
| toolchain: 1.81.0 | |
| - run: cargo build --target=riscv32imac-unknown-none-elf |