forked from nebgnahz/cv-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
33 lines (33 loc) · 807 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
clone_depth: 50
image: Visual Studio 2017
environment:
RUSTUP_USE_REQWEST: 1
CARGO_HTTP_CHECK_REVOKE: false
matrix:
- TARGET: x86_64-pc-windows-msvc
skip_commits:
files:
- .gitattributes
- .gitignore
- .travis.yml
- .ci\*.sh
- LICENSE
- '*.md'
platform:
- x64
install:
# Install Rust
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init.exe -y --default-host %TARGET%
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
- rustc -V
- cargo -V
# Install OpenCV
- ps: .\.windows\msvc_2_build_OCV.ps1 -EnableCuda 0 -Compiler vc15
build_script:
- cargo build --no-default-features
test_script:
- cargo test -v --no-default-features
cache:
- '%USERPROFILE%\.cargo\registry'
- vc15\install -> .windows\msvc_2_build_OCV.ps1