Skip to content

Commit

Permalink
Merge #137
Browse files Browse the repository at this point in the history
137: Add Appveyor r=Hoverbear a=Hoverbear

Adds appveyor so we can test our builds on Windows as well. Since I think none of our maintainers develop on Windows, this can possibly help us find portability bugs.

Co-authored-by: Hoverbear <operator@hoverbear.org>
  • Loading branch information
bors[bot] and Hoverbear committed Nov 1, 2018
2 parents 52856d1 + 043eddd commit 0b49535
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
environment:
matrix:
- TARGET: x86_64-pc-windows-gnu
RUST_VERSION: stable
- TARGET: x86_64-pc-windows-gnu
RUST_VERSION: nightly

install:
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET% --default-toolchain %RUST_VERSION%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -Vv
- cargo -V

# Building is done in the test phase, so we disable Appveyor's build phase.
build: false

cache:
- C:\Users\appveyor\.cargo\registry
- target

test_script:
- cargo test

0 comments on commit 0b49535

Please sign in to comment.