update github actions to test endian independent hashes on a big endi… #16
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: [ "main", "test-ci" ] | |
pull_request: | |
branches: [ "main", "test-ci" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: cargo-bins/cargo-binstall@main | |
- name: Run tests (stable, no features) | |
run: cargo test --release | |
- name: Run tests (stable, feature fnv) | |
run: cargo test --release --features fnv | |
- name: Run tests (stable, features fnv, bnum) | |
run: cargo test --release --features bnum,fnv | |
- name: Run tests (stable, feature spooky) | |
run: cargo test --release --features spooky | |
- name: Run tests (stable, feature xxh64) | |
run: cargo test --release --features xxh64 | |
- name: Run tests (stable, all features except nightly) | |
run: cargo test --release --features std,bnum,fnv,spooky,xxh64 | |
- name: Run tests (nightly, all features) | |
run: rustup update nightly && cargo +nightly test --release --all-features | |
- name: Install cross-rs | |
run: cargo binstall --no-confirm cross | |
- name: Test endian independent hashes on big endian (powerpc64) | |
run: cross test --target powerpc64-unknown-linux-gnu --features fnv,xxh64 |