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@v3 with: submodules: true - name: Install stable uses: dtolnay/rust-toolchain@stable - name: rustup target add ${{ matrix.target }} run: rustup target add ${{ matrix.target }} - name: cargo check uses: actions-rs/cargo@v1 with: command: check args: --target ${{ matrix.target }} --no-default-features