test: add Intel test vectors for clmul #55
Workflow file for this run
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
name: Rust | |
on: | |
push: | |
branches: [dev] | |
pull_request: | |
branches: [dev] | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse | |
jobs: | |
build_and_test: | |
if: ( ! github.event.pull_request.draft ) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Stable | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- uses: Swatinem/[email protected] | |
- name: "Build" | |
run: cargo build | |
- name: "Test" | |
run: cargo test --lib --bins --tests --examples --workspace | |
- name: "Check documentation" | |
# env: | |
# RUSTDOCFLAGS: -D warnings | |
run: cargo doc --no-deps --workspace --lib --document-private-items --examples | |
rustfmt_and_clippy: | |
name: Rustfmt and Clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Nightly with rustfmt and clipy | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: nightly | |
components: rustfmt, clippy | |
- name: "Check formatting" | |
run: cargo +nightly fmt --check --all | |
- name: Run Clippy | |
run: cargo clippy --all-targets --all-features |