24 lines
580 B
YAML
24 lines
580 B
YAML
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-rs/toolchain@v1
|
|
with:
|
|
profile: minimal
|
|
toolchain: stable
|
|
target: ${{ matrix.target }}
|
|
- uses: actions/checkout@v2
|
|
- name: cargo check
|
|
uses: actions-rs/cargo@v1
|
|
with:
|
|
command: check
|
|
args: --target ${{ matrix.target }} --no-default-features
|