Alex Crichton | 3bf33a4 | 2015-09-10 22:01:52 -0700 | [diff] [blame] | 1 | environment: |
| 2 | matrix: |
Alex Crichton | 87fdebd | 2015-09-12 22:24:01 -0700 | [diff] [blame] | 3 | - TARGET: x86_64-pc-windows-gnu |
Alex Crichton | 87fdebd | 2015-09-12 22:24:01 -0700 | [diff] [blame] | 4 | MSYS2_BITS: 64 |
Alex Crichton | 87fdebd | 2015-09-12 22:24:01 -0700 | [diff] [blame] | 5 | - TARGET: i686-pc-windows-gnu |
Alex Crichton | 87fdebd | 2015-09-12 22:24:01 -0700 | [diff] [blame] | 6 | MSYS2_BITS: 32 |
Alex Crichton | 3bf33a4 | 2015-09-10 22:01:52 -0700 | [diff] [blame] | 7 | - TARGET: x86_64-pc-windows-msvc |
| 8 | - TARGET: i686-pc-windows-msvc |
Alex Crichton | 3bf33a4 | 2015-09-10 22:01:52 -0700 | [diff] [blame] | 9 | install: |
Alex Crichton | 9a55bc1 | 2017-03-23 08:09:00 -0700 | [diff] [blame] | 10 | - appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe |
Alex Crichton | 92105c6 | 2016-08-26 23:45:32 -0700 | [diff] [blame] | 11 | - rustup-init.exe -y --default-host %TARGET% |
| 12 | - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin |
Alex Crichton | ab0442c | 2015-10-07 14:38:47 -0700 | [diff] [blame] | 13 | - if defined MSYS2_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS2_BITS%\bin |
Alex Crichton | 3bf33a4 | 2015-09-10 22:01:52 -0700 | [diff] [blame] | 14 | - rustc -V |
| 15 | - cargo -V |
| 16 | |
| 17 | build: false |
| 18 | |
| 19 | test_script: |
Alex Crichton | dbc65bc | 2016-10-10 16:41:23 -0700 | [diff] [blame] | 20 | - cargo test --target %TARGET% |
| 21 | - cargo run --manifest-path libc-test/Cargo.toml --target %TARGET% |
Alex Crichton | 739edbc | 2016-10-08 11:33:09 -0700 | [diff] [blame] | 22 | |
| 23 | cache: |
| 24 | - target |
| 25 | - C:\Users\appveyor\.cargo\registry |