forked from maidsafe/self_encryption
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
37 lines (32 loc) · 1.11 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
install:
- ps: |
Start-FileDownload "https://raw.githubusercontent.com/carllerche/travis-rust-matrix/master/install.ps1"; . .\install.ps1
if($env:platform -eq 'x86') {
$arch_expanded = "i686-pc-windows-gnu";
$env:Path = $env:Path + ";C:\MinGW\bin";
} else {
$arch_expanded = "x86_64-pc-windows-gnu";
Start-FileDownload "http://libgd.blob.core.windows.net/mingw/mingw-w64-dgn-x86_64-20141001.7z";
7z x -oC:\ mingw-w64-dgn-x86_64-20141001.7z | findstr /b /c:"Everything is Ok";
$env:Path = $env:Path + ";C:\MinGW64\bin";
}
Start-FileDownload "https://gitlab.com/Fraser999/Dependencies/raw/master/bin/$arch_expanded/libsodium.a";
$env:SODIUM_LIB_DIR = Resolve-Path .
platform:
- x86
- x64
configuration:
# - Debug
- Release
environment:
matrix:
# - RUST_VERSION: 1.1.0
# - RUST_VERSION: beta
- RUST_VERSION: nightly
build: false
test_script:
- ps: if ($env:CONFIGURATION -eq "Release") {
$env:config_flags = "--release"
}
- cargo build --verbose %config_flags%
- cargo test --verbose