2015-09-10 22:01:52 -07:00
|
|
|
environment:
|
|
|
|
matrix:
|
2015-09-12 22:24:01 -07:00
|
|
|
- TARGET: x86_64-pc-windows-gnu
|
|
|
|
MSYS2_BITS: 64
|
|
|
|
- TARGET: i686-pc-windows-gnu
|
|
|
|
MSYS2_BITS: 32
|
2015-09-10 22:01:52 -07:00
|
|
|
- TARGET: x86_64-pc-windows-msvc
|
|
|
|
- TARGET: i686-pc-windows-msvc
|
|
|
|
install:
|
2017-03-23 08:09:00 -07:00
|
|
|
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
2016-08-26 23:45:32 -07:00
|
|
|
- rustup-init.exe -y --default-host %TARGET%
|
|
|
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
2015-10-07 14:38:47 -07:00
|
|
|
- if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
|
2015-09-10 22:01:52 -07:00
|
|
|
- rustc -V
|
|
|
|
- cargo -V
|
|
|
|
|
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
2016-10-10 16:41:23 -07:00
|
|
|
- cargo test --target %TARGET%
|
|
|
|
- cargo run --manifest-path libc-test/Cargo.toml --target %TARGET%
|
2016-10-08 11:33:09 -07:00
|
|
|
|
|
|
|
cache:
|
|
|
|
- target
|
|
|
|
- C:\Users\appveyor\.cargo\registry
|