2016-08-08 14:58:16 +08:00
|
|
|
environment:
|
2016-08-08 14:59:37 +08:00
|
|
|
matrix:
|
|
|
|
- TARGET: i686-pc-windows-msvc
|
|
|
|
- TARGET: x86_64-pc-windows-msvc
|
2016-08-08 14:58:16 +08:00
|
|
|
|
|
|
|
install:
|
|
|
|
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
|
2016-08-08 15:05:24 +08:00
|
|
|
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
2016-08-08 14:58:16 +08:00
|
|
|
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
|
|
|
|
- rustc -Vv
|
|
|
|
- cargo -V
|
|
|
|
|
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- cargo build
|
|
|
|
- cargo build --release
|
|
|
|
- cargo test
|
|
|
|
- cargo test --release
|
2016-08-18 02:12:06 +08:00
|
|
|
- CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
|
2016-08-18 02:56:35 +08:00
|
|
|
- dumpbin /disasm target/release/librustc_builtins.rlib || exit 0
|
2016-08-08 14:58:16 +08:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|