21 lines
665 B
YAML
21 lines
665 B
YAML
environment:
|
|
matrix:
|
|
- TARGET: x86_64-pc-windows-msvc
|
|
- TARGET: i686-pc-windows-msvc
|
|
- TARGET: i686-pc-windows-gnu
|
|
|
|
install:
|
|
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
|
|
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
|
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
|
|
- SET PATH=%PATH%;C:\MinGW\bin
|
|
- rustc -V
|
|
- cargo -V
|
|
|
|
build: false
|
|
|
|
test_script:
|
|
- cargo build --verbose
|
|
- cargo test --tests --benches
|
|
- cargo bench --bench decoding_benchmark --no-default-features --features "$FEATURES" -- --warm-up-time 1 --measurement-time 1 --sample-size 25
|