diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1c279a6..6716e90 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,9 +2,9 @@ name: Rust on: push: - branches: [ "main" ] + branches: [ "main", "test-ci" ] pull_request: - branches: [ "main" ] + branches: [ "main", "test-ci" ] env: CARGO_TERM_COLOR: always @@ -16,6 +16,7 @@ jobs: 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) @@ -30,3 +31,7 @@ jobs: 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