forked from kali/hue.rs
-
Notifications
You must be signed in to change notification settings - Fork 7
/
appveyor.yml
40 lines (35 loc) · 1.14 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
environment:
SSL_CERT_FILE: "C:\\OpenSSL\\cacert.pem"
OPENSSL_VERSION: 1_1_0f
matrix:
# 1.1.0, 64/32 bit
- TARGET: i686-pc-windows-gnu
BITS: 32
MSYS2: 1
- TARGET: x86_64-pc-windows-msvc
BITS: 64
OPENSSL_DIR: C:\OpenSSL
install:
# install OpenSSL
- mkdir C:\OpenSSL
- ps: Start-FileDownload "http://slproweb.com/download/Win${env:BITS}OpenSSL-${env:OPENSSL_VERSION}.exe"
- Win%BITS%OpenSSL-%OPENSSL_VERSION%.exe /SILENT /VERYSILENT /SP- /DIR="C:\OpenSSL"
- appveyor DownloadFile https://curl.haxx.se/ca/cacert.pem -FileName C:\OpenSSL\cacert.pem
# Install Rust
- curl -sSf -o rustup-init.exe https://win.rustup.rs/
- rustup-init.exe -y --default-host %TARGET%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- if defined MSYS2 set PATH=C:\msys64\mingw%BITS%\bin;%PATH%
- rustc -V
- cargo -V
build: false
test_script:
- cargo test -v --target %TARGET%
cache:
- target
- C:\Users\appveyor\.cargo\registry
notifications:
- provider: Slack
auth_token:
secure: kumJKSxARfmD/wO+rlhGEqOvMg8mYRx9gNDY/mE5xxlHOzGKcmMOtA3DrNPVmLAkZCQ+TnB7lWUJYUY/F6PWekFsBwIVHGKikbDPSDfU+hY=
channel: '#ci'