Add (only) no-std workflow
This commit is contained in:
parent
e6ef8e3166
commit
c74ee968a1
1 changed files with 24 additions and 0 deletions
24
github/workflows/nostd.yml
Normal file
24
github/workflows/nostd.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
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
|
||||||
Loading…
Add table
Reference in a new issue