-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
37 lines (33 loc) · 1 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
os: unstable
image: Visual Studio 2015
platform:
- x64
environment:
matrix:
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5.0"
PYTHON_ARCH: "64"
before_build:
- SET ARCH=x64
- SET APP_PATH=%CD%
- ps: $file = "$pwd\opencv.zip"
- ps: (new-object System.Net.WebClient).Downloadfile("https://github.com/livecv/opencv_contrib/releases/download/3.4.0/opencv-contrib-3-4-0-msvc2015-x64-release.zip", $file)
- ps: 7z x -y $file -o"."
- ls
- echo %CD%
- SET OPENCV_DIR=%CD%\opencv\build\%ARCH%\vc14
- SET QTDIR=C:\Qt\5.7\msvc2015_64
- echo %OPENCV_DIR%
build_script:
- cd build
- echo %OPENCV_DIR%
- echo %QTDIR%
- ps: $file = "$pwd\deploy.zip"
- ps: (new-object System.Net.WebClient).Downloadfile("https://github.com/livecv/live-pm/archive/master.zip", $file)
- ps: 7z x -y $file -o"."
- SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- mv live-pm-master/* .
- python --version
- python livepm/main.py build .. msvc2015_64
- python livepm/main.py deploy .. msvc2015_64
- dir