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:
|
2016-08-28 00:37:35 +08:00
|
|
|
- curl -sSf -o rustup-init.exe https://win.rustup.rs
|
|
|
|
- rustup-init.exe --default-host %TARGET% --default-toolchain nightly -y
|
|
|
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\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: |
|
2016-08-23 07:03:21 +08:00
|
|
|
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
|