-
Notifications
You must be signed in to change notification settings - Fork 8
/
.appveyor.yml
40 lines (32 loc) · 998 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
35
36
37
38
39
# Thanks to https://github.com/starkat99/appveyor-rust
os: Visual Studio 2015
platform: Any CPU
clone_depth: 1
clone_folder: C:\projects\tox
branches:
except:
- /test.*/
environment:
matrix:
- channel: stable
target: x86_64-pc-windows-gnu
# env variables for debugging
RUST_BACKTRACE: "1"
install:
# install libsodium
- mkdir deps && cd deps
- appveyor DownloadFile https://download.libsodium.org/libsodium/releases/libsodium-1.0.13-mingw.tar.gz -FileName libsodium.tar.gz
- 7z x libsodium.tar.gz -so | 7z x -si -ttar > nul
- set SODIUM_STATIC=1
- set SODIUM_LIB_DIR=C:\projects\tox\deps\libsodium-win64\lib
- cd C:\projects\tox
# install rustc & cargo
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain %channel% --default-host %target%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
build: false
test_script:
- cargo build --verbose
- cargo test --verbose