|
|
@ -2,23 +2,22 @@ environment: |
|
|
|
matrix: |
|
|
|
matrix: |
|
|
|
- TARGET: x86_64-pc-windows-msvc |
|
|
|
- TARGET: x86_64-pc-windows-msvc |
|
|
|
- TARGET: i686-pc-windows-msvc |
|
|
|
- TARGET: i686-pc-windows-msvc |
|
|
|
- TARGET: x86_64-pc-windows-gnu |
|
|
|
|
|
|
|
MSYS_BITS: 64 |
|
|
|
|
|
|
|
- TARGET: i686-pc-windows-gnu |
|
|
|
|
|
|
|
MSYS_BITS: 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install: |
|
|
|
install: |
|
|
|
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" |
|
|
|
- curl -sSf -o rustup-init.exe https://win.rustup.rs/ |
|
|
|
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust" |
|
|
|
- rustup-init.exe -y --default-host %TARGET% --default-toolchain nightly |
|
|
|
- set PATH=%PATH%;C:\Program Files (x86)\Rust\bin |
|
|
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin |
|
|
|
- if defined MSYS_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS_BITS%\bin |
|
|
|
- rustc -Vv |
|
|
|
- rustc -V |
|
|
|
|
|
|
|
- cargo -V |
|
|
|
- cargo -V |
|
|
|
|
|
|
|
|
|
|
|
build_script: |
|
|
|
build_script: |
|
|
|
- git submodule -q update --init |
|
|
|
- git submodule -q update --init |
|
|
|
- cargo build --target %TARGET% --all -v |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
test_script: |
|
|
|
test_script: |
|
|
|
- SET RUST_BACKTRACE=1 |
|
|
|
- SET RUST_BACKTRACE=1 |
|
|
|
- cargo test --target %TARGET% --all -v |
|
|
|
- cargo test --target %TARGET% --all -v |
|
|
|
|
|
|
|
- cargo test --release --target %TARGET% --all -v |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cache: |
|
|
|
|
|
|
|
- C:\Users\appveyor\.cargo\registry |
|
|
|
|
|
|
|
- target |
|
|
|