# This builds for armv7a-none-eabi to ensure we can build with no-std. # It will fail if there is a dependency on std, as armv7a-none-eabi has no std. on: push: branches: - main pull_request: name: no-std jobs: build: name: no-std runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions-rs/toolchain@v1 with: toolchain: nightly target: armv7a-none-eabi override: true - uses: actions-rs/cargo@v1 with: command: rustc args: --target=armv7a-none-eabi --manifest-path=ensure_no_std/Cargo.toml