summaryrefslogtreecommitdiffstats
path: root/third_party/rust/gcc/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/gcc/appveyor.yml')
-rw-r--r--third_party/rust/gcc/appveyor.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/third_party/rust/gcc/appveyor.yml b/third_party/rust/gcc/appveyor.yml
new file mode 100644
index 000000000..39e6845c8
--- /dev/null
+++ b/third_party/rust/gcc/appveyor.yml
@@ -0,0 +1,35 @@
+environment:
+ matrix:
+ - TARGET: x86_64-pc-windows-msvc
+ ARCH: amd64
+ VS: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat
+ - TARGET: x86_64-pc-windows-msvc
+ ARCH: amd64
+ VS: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
+ - TARGET: i686-pc-windows-msvc
+ ARCH: x86
+ VS: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat
+ - TARGET: i686-pc-windows-msvc
+ ARCH: x86
+ VS: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
+ - TARGET: x86_64-pc-windows-gnu
+ MSYS_BITS: 64
+ - TARGET: i686-pc-windows-gnu
+ MSYS_BITS: 32
+install:
+ - 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"
+ - if defined VS call "%VS%" %ARCH%
+ - set PATH=%PATH%;C:\Program Files (x86)\Rust\bin
+ - if defined MSYS_BITS set PATH=%PATH%;C:\msys64\mingw%MSYS_BITS%\bin
+ - rustc -V
+ - cargo -V
+
+build: false
+
+test_script:
+ - cargo test
+ - cargo test --features parallel
+ - cargo test --manifest-path gcc-test/Cargo.toml
+ - cargo test --manifest-path gcc-test/Cargo.toml --features parallel
+ - cargo test --manifest-path gcc-test/Cargo.toml --release