appveyor: Use gist to post disassembly

This commit is contained in:
Matt Ickstadt 2016-08-21 17:04:48 -05:00 committed by Jorge Aparicio
parent 27cbb963a3
commit 5c9bfabcdf
1 changed files with 7 additions and 2 deletions

View File

@ -7,6 +7,7 @@ install:
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe" - 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" - rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
- gem install gist
- rustc -Vv - rustc -Vv
- cargo -V - cargo -V
@ -17,8 +18,12 @@ test_script:
- cargo build --release - cargo build --release
- cargo test - cargo test
- cargo test --release - cargo test --release
- CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
- dumpbin /disasm target/release/librustc_builtins.rlib || exit 0 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%'"
branches: branches:
only: only: