-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (32 loc) · 1.19 KB
/
rust.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 bnum,fnv,xxh64