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
|
2016-08-22 06:04:48 +08:00
|
|
|
- gem install gist
|
2016-08-08 14:58:16 +08:00
|
|
|
- rustc -Vv
|
|
|
|
- cargo -V
|
|
|
|
|
|
|
|
build: false
|
|
|
|
|
|
|
|
test_script:
|
|
|
|
- cargo build
|
|
|
|
- cargo build --release
|
|
|
|
- cargo test
|
|
|
|
- cargo test --release
|
2016-08-22 06:04:48 +08:00
|
|
|
|
|
|
|
on_success:
|
|
|
|
- cmd: |
|
|
|
|
CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
|
|
|
|
dumpbin /disasm target/release/librustc_builtins.rlib |
|
|
|
|
gist -d "'%TARGET%/rustc-builtins.rlib' from commit '%APPVEYOR_REPO_COMMIT%' on branch '%APPVEYOR_REPO_branch%'"
|
2016-08-08 14:58:16 +08:00
|
|
|
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|