mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-04 20:03:39 +00:00
CI: Add no-std build check
This commit is contained in:
parent
adf66ae0d1
commit
87488ec1f6
1 changed files with 23 additions and 0 deletions
23
.github/workflows/ci.yml
vendored
23
.github/workflows/ci.yml
vendored
|
|
@ -188,3 +188,26 @@ jobs:
|
|||
with:
|
||||
command: fmt
|
||||
args: -- --check
|
||||
|
||||
no-std:
|
||||
name: Check no-std target ${{ matrix.target }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
target:
|
||||
- thumbv6m-none-eabi
|
||||
- wasm32-unknown-unknown
|
||||
- wasm32-wasi
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
override: true
|
||||
- run: rustup target add ${{ matrix.target }}
|
||||
- name: Build
|
||||
uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: build
|
||||
args: --verbose --target ${{ matrix.target }} --no-default-features
|
||||
|
|
|
|||
Loading…
Reference in a new issue