2015-09-11 07:01:52 +02:00
environment :
matrix :
2015-09-13 07:24:01 +02:00
- TARGET : x86_64-pc-windows-gnu
2019-07-05 18:55:42 +02:00
MSYS_BITS : 64
ARCH : x86_64
2015-09-13 07:24:01 +02:00
- TARGET : i686-pc-windows-gnu
2019-07-05 18:55:42 +02:00
MSYS_BITS : 32
ARCH : i686
2015-09-11 07:01:52 +02:00
- TARGET : x86_64-pc-windows-msvc
- TARGET : i686-pc-windows-msvc
install :
2019-07-06 15:21:16 +02:00
- if NOT defined APPVEYOR_PULL_REQUEST_NUMBER if "%APPVEYOR_REPO_BRANCH%" == "master" appveyor exit
2019-07-05 18:55:42 +02:00
- if defined MSYS_BITS set PATH=C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin;%PATH%;
- ps : Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- set PATH=%PATH%;C:\Program Files (x86)\Rust\bin
- if defined MSYS_BITS for %%I in (crt2.o dllcrt2.o libmsvcrt.a) do xcopy /Y "C:\msys64\mingw%MSYS_BITS%\%ARCH%-w64-mingw32\lib\%%I" "C:\Program Files (x86)\Rust\lib\rustlib\%TARGET%\lib"
2015-09-11 07:01:52 +02:00
- rustc -V
- cargo -V
build : false
test_script :
2019-02-22 22:30:08 +01:00
- cargo -vv test --target %TARGET%
- cargo -vv test --no-default-features --target %TARGET%
- cargo -vv test --manifest-path libc-test/Cargo.toml --target %TARGET%