fix badges #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ '**' ] | |
jobs: | |
build-nostd: | |
name: Build on no_std target (thumbv7em-none-eabi) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
targets: thumbv7em-none-eabi | |
- uses: taiki-e/install-action@cargo-hack | |
# No default features build | |
- name: no_std / no feat | |
run: cargo build --target thumbv7em-none-eabi --release --no-default-features | |
# cargo hack ensures all no_std features all built-checked | |
- name: no_std / cargo hack features | |
run: cargo hack build --target thumbv7em-none-eabi --release --each-feature --exclude-features default,std,getrandom,wasm,benchmarking,kyber1024 |