summaryrefslogtreecommitdiff
path: root/gcc/appveyor.yml
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2017-03-26 17:07:27 -0700
committerDaniel Mueller <deso@posteo.net>2017-03-26 17:07:27 -0700
commit86415f23a86b5a44aa000d513500a9d1d0df4bba (patch)
tree5a9c513c9531414502de67dda322fca9baac7563 /gcc/appveyor.yml
parent547085cdefb3372e8c42beabac5d45f2f6b1a535 (diff)
downloadnitrocli-86415f23a86b5a44aa000d513500a9d1d0df4bba.tar.gz
nitrocli-86415f23a86b5a44aa000d513500a9d1d0df4bba.tar.bz2
Import subrepo gcc/:gcc at cf1f00bc038a0df769e14bb85480ab9c12eae08d
Diffstat (limited to 'gcc/appveyor.yml')
-rw-r--r--gcc/appveyor.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/gcc/appveyor.yml b/gcc/appveyor.yml
new file mode 100644
index 0000000..f6108c6
--- /dev/null
+++ b/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 --target %TARGET%
+ - cargo test --features parallel --target %TARGET%
+ - cargo test --manifest-path gcc-test/Cargo.toml --target %TARGET%
+ - cargo test --manifest-path gcc-test/Cargo.toml --features parallel --target %TARGET%
+ - cargo test --manifest-path gcc-test/Cargo.toml --release --target %TARGET%