blob: b6c666c8b53871699c6f1b44f10ac4db6c92cfc8 [file] [log] [blame]
Alex Crichton3bf33a42015-09-10 22:01:52 -07001environment:
2 matrix:
Alex Crichton87fdebd2015-09-12 22:24:01 -07003 - TARGET: x86_64-pc-windows-gnu
Alex Crichton87fdebd2015-09-12 22:24:01 -07004 MSYS2_BITS: 64
Alex Crichton87fdebd2015-09-12 22:24:01 -07005 - TARGET: i686-pc-windows-gnu
Alex Crichton87fdebd2015-09-12 22:24:01 -07006 MSYS2_BITS: 32
Alex Crichton3bf33a42015-09-10 22:01:52 -07007 - TARGET: x86_64-pc-windows-msvc
8 - TARGET: i686-pc-windows-msvc
Alex Crichton3bf33a42015-09-10 22:01:52 -07009install:
Alex Crichton1febc502017-03-23 13:42:26 -070010 - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
Alex Crichton92105c62016-08-26 23:45:32 -070011 - rustup-init.exe -y --default-host %TARGET%
12 - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
Alex Crichtonab0442c2015-10-07 14:38:47 -070013 - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
Alex Crichton3bf33a42015-09-10 22:01:52 -070014 - rustc -V
15 - cargo -V
16
17build: false
18
19test_script:
Alex Crichtondbc65bc2016-10-10 16:41:23 -070020 - cargo test --target %TARGET%
21 - cargo run --manifest-path libc-test/Cargo.toml --target %TARGET%
Alex Crichton739edbc2016-10-08 11:33:09 -070022
23cache:
24 - target
25 - C:\Users\appveyor\.cargo\registry