ci: add job for stable Rust #175
This file contains 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
permissions: | |
contents: read | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
name: no-std | |
jobs: | |
nostd: | |
runs-on: ubuntu-latest | |
name: ${{ matrix.target }} | |
strategy: | |
matrix: | |
target: [thumbv7m-none-eabi, aarch64-unknown-none] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install nightly | |
uses: dtolnay/rust-toolchain@nightly | |
- name: rustup target add ${{ matrix.target }} | |
run: rustup target add ${{ matrix.target }} | |
- name: cargo check | |
run: cargo check --target ${{ matrix.target }} --no-default-features |