Skip to content

Commit

Permalink
setup CI for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
dcuddeback committed Nov 6, 2015
1 parent 12f782d commit 141ec46
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
platform:
- x64
- x86

environment:
matrix:
- RUST_VERSION: 1.3.0
VENDOR: gnu
- RUST_VERSION: 1.3.0
VENDOR: msvc
- RUST_VERSION: beta
VENDOR: gnu
- RUST_VERSION: beta
VENDOR: msvc

install:
- ps: |
if ($env:PLATFORM -eq "x86") {
$arch = "i686"
}
else {
$arch = "x86_64"
}
Start-FileDownload "https://static.rust-lang.org/dist/rust-${env:RUST_VERSION}-$arch-pc-windows-${env:VENDOR}.exe" -FileName rust-install.exe
- rust-install.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
- rustc -V
- cargo -V

build: false

test_script:
- cargo build --verbose
- cargo test --verbose

0 comments on commit 141ec46

Please sign in to comment.