Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
28 lines
813 B
YAML
28 lines
813 B
YAML
permissions:
|
|
contents: read
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
# Spend CI time only on latest ref: https://github.com/jonhoo/rust-ci-conf/pull/5
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
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 stable
|
|
uses: dtolnay/rust-toolchain@stable
|
|
- name: rustup target add ${{ matrix.target }}
|
|
run: rustup target add ${{ matrix.target }}
|
|
- name: cargo check
|
|
run: cargo check --target ${{ matrix.target }} --no-default-features
|