Skip to content

Commit

Permalink
add target_features to CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jun 22, 2018
1 parent 5a9855c commit 3624366
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,21 @@ rust:
- nightly
- beta
- stable
- 1.10.0

env:
- CARGO_CFG_HTTPARSE_DISABLE_SIMD=1
- CARGO_CFG_HTTPARSE_DISABLE_SIMD_COMPILETIME=1
-
- CARGO_CFG_HTTPARSE_DISABLE_SIMD=1
- CARGO_CFG_HTTPARSE_DISABLE_SIMD_COMPILETIME=1 RUSTFLAGS="-C target_feature=+avx2"
- CARGO_CFG_HTTPARSE_DISABLE_SIMD_COMPILETIME=1 RUSTFLAGS="-C target_feature=+sse4.2"
- CARGO_CFG_HTTPARSE_DISABLE_SIMD_COMPILETIME=1 RUSTFLAGS="-C target_feature=+sse4.2,+avx2"
- RUSTFLAGS="-C target_feature=+sse4.2"
- RUSTFLAGS="-C target_feature=+avx2"
- RUSTFLAGS="-C target_feature=+sse4.2,+avx2"

matrix:
fast_finish: true
include:
- rust: 1.10.0 # minimum Rust version

script:
- cargo build --no-default-features
Expand Down

0 comments on commit 3624366

Please sign in to comment.