image: rust:1.64.0
pipelines:
default:
- step:
caches:
- cargo
script:
- cargo build --all-targets
- cargo test
- cargo bench --no-run
- rustup toolchain install nightly
- RUSTFLAGS='-C target-feature=+ssse3,+sse4.1' cargo +nightly build --all-targets --all-features
- RUSTFLAGS='-C target-feature=+ssse3,+sse4.1' cargo +nightly bench --no-run --all-features
- RUST_BACKTRACE=1 RUSTFLAGS='-C target-feature=+ssse3,+sse4.1' cargo +nightly test --all-features
definitions:
caches:
cargo: /usr/local/cargo