blob: b58168ced5f23e3f066f24a75a129e0f8bb36121 [file] [log] [blame]
Alex Crichton3bf33a42015-09-10 22:01:52 -07001environment:
Alex Crichtonf94b7ff2017-07-19 08:33:30 -07002 # When this was added there were revocation check failures when using the
3 # libcurl backend as libcurl checks by default, but rustup doesn't provide the
4 # switch to turn this off. Switch to Hyper which looks to not check for
5 # revocation by default like libcurl does.
6 RUSTUP_USE_HYPER: 1
Alex Crichton3bf33a42015-09-10 22:01:52 -07007 matrix:
Alex Crichton87fdebd2015-09-12 22:24:01 -07008 - TARGET: x86_64-pc-windows-gnu
Alex Crichton87fdebd2015-09-12 22:24:01 -07009 MSYS2_BITS: 64
Alex Crichton87fdebd2015-09-12 22:24:01 -070010 - TARGET: i686-pc-windows-gnu
Alex Crichton87fdebd2015-09-12 22:24:01 -070011 MSYS2_BITS: 32
Alex Crichton3bf33a42015-09-10 22:01:52 -070012 - TARGET: x86_64-pc-windows-msvc
13 - TARGET: i686-pc-windows-msvc
Alex Crichton3bf33a42015-09-10 22:01:52 -070014install:
Alex Crichton1febc502017-03-23 13:42:26 -070015 - appveyor-retry appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
Alex Crichton92105c62016-08-26 23:45:32 -070016 - rustup-init.exe -y --default-host %TARGET%
17 - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
Alex Crichtonab0442c2015-10-07 14:38:47 -070018 - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin
Alex Crichton3bf33a42015-09-10 22:01:52 -070019 - rustc -V
20 - cargo -V
21
22build: false
23
24test_script:
Alex Crichtondbc65bc2016-10-10 16:41:23 -070025 - cargo test --target %TARGET%
26 - cargo run --manifest-path libc-test/Cargo.toml --target %TARGET%
Alex Crichton739edbc2016-10-08 11:33:09 -070027
28cache:
29 - target
30 - C:\Users\appveyor\.cargo\registry