2016-10-14 02:12:42 +03:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- TARGET: x86_64-pc-windows-gnu
|
|
|
|
MSYS2_BITS: 64
|
|
|
|
- TARGET: i686-pc-windows-gnu
|
|
|
|
MSYS2_BITS: 32
|
|
|
|
- TARGET: x86_64-pc-windows-msvc
|
|
|
|
- TARGET: i686-pc-windows-msvc
|
|
|
|
install:
|
2017-06-29 16:09:29 +03:00
|
|
|
- appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
2016-10-14 02:12:42 +03:00
|
|
|
- rustup-init.exe -y --default-host %TARGET%
|
|
|
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
|
|
|
- if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
|
|
|
|
- rustc -V
|
|
|
|
- cargo -V
|
|
|
|
|
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
2016-12-21 01:24:05 +03:00
|
|
|
- cargo test --target %TARGET%
|
|
|
|
- cargo run --manifest-path libc-test/Cargo.toml --target %TARGET%
|
|
|
|
|
|
|
|
cache:
|
|
|
|
- target
|
|
|
|
- C:\Users\appveyor\.cargo\registry
|