-
Notifications
You must be signed in to change notification settings - Fork 72
/
Copy pathappveyor.yml
42 lines (36 loc) · 1.34 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
41
42
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" /c:"Scanning" /c:"Creating archive";
$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
# Allowing failures for x86 to accomodate for current libsodium test failure in x86
matrix:
allow_failures:
- platform: x86
build: false
test_script:
- ps: if ($env:CONFIGURATION -eq "Release") {
$env:config_flags = "--release"
}
- cargo build --verbose --features "use-mock-routing" %config_flags%
- cargo test --verbose --features "use-mock-routing"