-
Notifications
You must be signed in to change notification settings - Fork 4
45 lines (34 loc) · 863 Bytes
/
ci.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
43
44
45
name: CI
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
env:
CARGO_TERM_COLOR: always
jobs:
windows:
runs-on: windows-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- name: Cargo Cache
uses: Swatinem/rust-cache@v2
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Install WiX
run: dotnet tool install --global wix
- name: Install WiX
run: cargo install cargo-wix
- name: Installing Opencv, LLVM
run: choco install llvm opencv
- name: Test
env:
OPENCV_LINK_LIBS: opencv_world490
OPENCV_INCLUDE_PATHS: C:\tools\opencv\build\include
OPENCV_LINK_PATHS: C:\tools\opencv\build\x64\vc16\lib
run: cargo test --release