aboutsummaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..31c41ee1
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,25 @@
+environment:
+ OPENSSL_INCLUDE_DIR: C:\OpenSSL\include
+ OPENSSL_LIB_DIR: C:\OpenSSL\lib
+ OPENSSL_LIBS: ssleay32:libeay32
+ matrix:
+ - TARGET: i686-pc-windows-gnu
+ BITS: 32
+ - TARGET: x86_64-pc-windows-msvc
+ BITS: 64
+install:
+ - ps: Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-1_0_2d.exe"
+ - Win%BITS%OpenSSL-1_0_2d.exe /SILENT /VERYSILENT /SP- /DIR="C:\OpenSSL"
+ - 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"
+ - SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
+ - SET PATH=%PATH%;C:\MinGW\bin
+ - rustc -V
+ - cargo -V
+
+build: false
+
+# Don't run doctests due to rust-lang/cargo#1592
+test_script:
+ - cargo test --lib --manifest-path openssl/Cargo.toml
+