Skip to content

Commit

Permalink
update github actions to test endian independent hashes on a big endi…
Browse files Browse the repository at this point in the history
…an target (powerpc64)
  • Loading branch information
maia-s committed Apr 1, 2024
1 parent 1ef06ec commit f5d78df
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand All @@ -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

0 comments on commit f5d78df

Please sign in to comment.