mirror of
https://github.com/saymrwulf/curve25519-dalek-source.git
synced 2026-09-06 20:41:14 +00:00
CI: only build simd_backend; don't run tests (#232)
GitHub Actions runners are not guaranteed to have the necessary CPU features in order for these tests to work. Uses a `--target x86_64-unknown-linux-gnu` directive when compiling so the `target_feature` flags don't apply to build scripts.
This commit is contained in:
parent
a03c7a3f0f
commit
44512a3e9c
1 changed files with 7 additions and 2 deletions
9
.github/workflows/rust.yml
vendored
9
.github/workflows/rust.yml
vendored
|
|
@ -32,13 +32,18 @@ jobs:
|
||||||
- run: cargo test --target ${{ matrix.target }} --features batch_deterministic
|
- run: cargo test --target ${{ matrix.target }} --features batch_deterministic
|
||||||
- run: cargo test --target ${{ matrix.target }} --features serde
|
- run: cargo test --target ${{ matrix.target }} --features serde
|
||||||
|
|
||||||
test-simd:
|
build-simd:
|
||||||
name: Test simd backend (nightly)
|
name: Test simd backend (nightly)
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: dtolnay/rust-toolchain@nightly
|
- uses: dtolnay/rust-toolchain@nightly
|
||||||
- run: cargo test --features simd_backend
|
- env:
|
||||||
|
RUSTFLAGS: "-C target_feature=+avx2"
|
||||||
|
run: cargo build --target x86_64-unknown-linux-gnu --features simd_backend
|
||||||
|
- env:
|
||||||
|
RUSTFLAGS: "-C target_feature=+avx512ifma"
|
||||||
|
run: cargo build --target x86_64-unknown-linux-gnu --features simd_backend
|
||||||
|
|
||||||
msrv:
|
msrv:
|
||||||
name: Current MSRV is 1.56.1
|
name: Current MSRV is 1.56.1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue