forked from live-keys/livekeys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
55 lines (46 loc) · 1.32 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
43
44
45
46
47
48
49
50
51
52
53
54
55
os: unstable
platform:
- x64
environment:
matrix:
- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5.0"
PYTHON_ARCH: "32"
install:
- choco install opencv -version 3.1.0.20160701
before_build:
- SET ARCH=x64
- SET APP_PATH=%CD%
- IF EXIST C:\tools\OpenCV* CD C:\tools*
- SET OPENCV_ROOT_PATH=%CD%\opencv
- CD %APP_PATH%
- SET OPENCV_DIR=%OPENCV_ROOT_PATH%\build\%ARCH%\vc12
- SET QTDIR=C:\Qt\5.7\msvc2013_64
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/livecv-deploy-kit/archive/master.zip", $file)
- ps: 7z x -y $file -o"."
- SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
- mv livecv-deploy-kit-master/* .
- python --version
- python livecv_build.py .. msvc2013_64
- python livecv_deploy.py .. msvc2013_64
- dir
artifacts:
- path: 'build\livecv-*.zip'
name: Release
deploy:
release: $(APPVEYOR_REPO_TAG_NAME)
description: 'View Changelog.md for further details.'
provider: GitHub
auth_token:
secure: 'ewCMPMl6d/IVBZ0r/ZApqeh0NgF/0UMMtKTqvQcmTNFb3uK57XFyqbZBHLDICAVC'
artifact: /.*\.zip/
draft: true
prerelease: false
on:
branch: master # release from master branch only
appveyor_repo_tag: true