forked from shadowsocks/shadowsocks-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
34 lines (29 loc) · 773 Bytes
/
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
environment:
SSL_CERT_FILE: "C:\\OpenSSL\\cacert.pem"
matrix:
- TARGET: x86_64-pc-windows-msvc
BITS: 64
MSYS2: 1
OPENSSL_DIR: C:\OpenSSL-Win64
RUST_BACKTRACE: 1
# - TARGET: i686-pc-windows-gnu
# BITS: 32
# OPENSSL_DIR: C:\OpenSSL-Win32
# MSYS2: 1
# SODIUM_BUILD_STATIC: yes
# RUST_BACKTRACE: 1
install:
# Install Rust
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init.exe -y --default-host %TARGET%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- if defined MSYS2 set PATH=C:\msys64\mingw%BITS%\bin;%PATH%
# Run tests
- rustc -V
- cargo -V
build: false
test_script:
- cargo test --no-fail-fast
cache:
- target
- C:\Users\appveyor\.cargo\registry