Skip to content

Commit

Permalink
Rust Appveyor CI
Browse files Browse the repository at this point in the history
  • Loading branch information
rubdos committed Jul 20, 2017
1 parent 5965889 commit 5cb2b78
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .ci/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ environment:
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\.ci\\run_with_env.cmd"
RUST_TOOLCHAIN: "nightly-2017-07-20-x86_64-pc-windows-msvc"

matrix:
- PYTHON: "C:\\Python34"
Expand Down Expand Up @@ -49,6 +50,21 @@ install:
- "npm config set loglevel warn"
- "npm install"

- "curl -sSf -o rustup-init.exe https://win.rustup.rs/"
- "rustup-init.exe -y --default-toolchain=%RUST_TOOLCHAIN%"
# Normally, we shouldn't need the toolchain lib directory in our PATH
# https://github.com/rust-lang-nursery/rustup.rs/issues/876
# This is actually the sole reason that we really
# need the RUST_TOOLCHAIN variable.
- "set PATH=%PATH%;C:\\Users\\appveyor\\.cargo\\bin;C:\\Users\\appveyor\\.rustup\\toolchains\\%RUST_TOOLCHAIN%\\bin;C:\\Users\\appveyor\\.rustup\\toolchains\\%RUST_TOOLCHAIN%\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib"
- "cargo install clippy --vers 0.0.144"

# Print rust and cargo parameters for quick debugging.
- where rustc cargo
- rustc -vV
- cargo -vV
- cargo clippy -V

build: false # Not a C# project, build stuff at the test step instead.

test_script:
Expand Down

0 comments on commit 5cb2b78

Please sign in to comment.