Disable no_std from CI

This commit is contained in:
pinkforest 2023-03-12 13:43:48 +11:00
parent c779e215f7
commit 707675d878
No known key found for this signature in database

View file

@ -59,33 +59,35 @@ jobs:
- uses: dtolnay/rust-toolchain@1.60.0 - uses: dtolnay/rust-toolchain@1.60.0
- run: cargo build - run: cargo build
# Test no_std integration with no features # no_std support is pending feature, tracking:
build-nostd-base: # https://github.com/dalek-cryptography/x25519-dalek/issues/111
name: Build on no_std target (thumbv7em-none-eabi) # # Test no_std integration with no features
runs-on: ubuntu-latest # build-nostd-base:
steps: # name: Build on no_std target (thumbv7em-none-eabi)
- uses: actions/checkout@v3 # runs-on: ubuntu-latest
- uses: dtolnay/rust-toolchain@master # steps:
with: # - uses: actions/checkout@v3
toolchain: stable # - uses: dtolnay/rust-toolchain@master
targets: thumbv7em-none-eabi # with:
- uses: taiki-e/install-action@cargo-hack # toolchain: stable
# No default features build # targets: thumbv7em-none-eabi
- run: cargo build --target thumbv7em-none-eabi --release --no-default-features # - uses: taiki-e/install-action@cargo-hack
# # No default features build
# Test no_std integration with all no_std features # - run: cargo build --target thumbv7em-none-eabi --release --no-default-features
build-nostd-features: #
name: Build on no_std target (thumbv7em-none-eabi) # # Test no_std integration with all no_std features
runs-on: ubuntu-latest # build-nostd-features:
steps: # name: Build on no_std target (thumbv7em-none-eabi)
- uses: actions/checkout@v3 # runs-on: ubuntu-latest
- uses: dtolnay/rust-toolchain@master # steps:
with: # - uses: actions/checkout@v3
toolchain: stable # - uses: dtolnay/rust-toolchain@master
targets: thumbv7em-none-eabi # with:
- uses: taiki-e/install-action@cargo-hack # toolchain: stable
# No default features build # targets: thumbv7em-none-eabi
- run: cargo hack build --target thumbv7em-none-eabi --release --each-feature --exclude-features default,std # - uses: taiki-e/install-action@cargo-hack
# # No default features build
# - run: cargo hack build --target thumbv7em-none-eabi --release --each-feature --exclude-features default,std
bench: bench:
name: Check that benchmarks compile name: Check that benchmarks compile