Skip to content

Commit

Permalink
add avx2's various combinations to matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar committed Jun 22, 2018
1 parent 3d57134 commit a6c8d81
Showing 1 changed file with 38 additions and 1 deletion.
39 changes: 38 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,46 @@ matrix:
script: # don't run tests, since dev-dependencies don't build on 1.10
- cargo build --no-default-features
- cargo build

# with sudo the worker has avx2 support
- rust: nightly
sudo: true
env: RUSTFLAGS="-C target_feature=+avx2"
- rust: nightly
sudo: true
env: RUSTFLAGS="-C target_feature=sse4.2"
- rust: nightly
sudo: true # supposedly with sudo, the worker has avx2 support?
sudo: true
env: RUSTFLAGS="-C target_feature=+sse4.2,+avx2"
- rust: nightly
sudo: true
env: CARGO_CFG_HTTPARSE_DISABLE_SIMD_COMPILETIME=1 RUSTFLAGS="-C target_feature=+sse4.2,+avx2"

- rust: beta
sudo: true
env: RUSTFLAGS="-C target_feature=+avx2"
- rust: beta
sudo: true
env: RUSTFLAGS="-C target_feature=+sse4.2"
- rust: beta
sudo: true
env: RUSTFLAGS="-C target_feature=+sse4.2,+avx2"
- rust: beta
sudo: true
env: CARGO_CFG_HTTPARSE_DISABLE_SIMD_COMPILETIME=1 RUSTFLAGS="-C target_feature=+sse4.2,+avx2"

- rust: stable
sudo: true
env: RUSTFLAGS="-C target_feature=+avx2"
- rust: stable
sudo: true
env: RUSTFLAGS="-C target_feature=+sse4.2"
- rust: stable
sudo: true
env: RUSTFLAGS="-C target_feature=+sse4.2,+avx2"
- rust: stable
sudo: true
env: CARGO_CFG_HTTPARSE_DISABLE_SIMD_COMPILETIME=1 RUSTFLAGS="-C target_feature=+sse4.2,+avx2"

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

0 comments on commit a6c8d81

Please sign in to comment.