greenhouse/.appveyor.yml

56 lines
1.6 KiB
YAML
Raw Normal View History

2018-05-28 15:11:34 -04:00
branches:
only:
- master
- devel
os: Visual Studio 2015
clone_folder: c:\projects\find-object
platform: x64
configuration: Release
init:
- cmake --version
- call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
install:
# Qt
- set QTDIR=C:\Qt\5.10.1\msvc2015_64
# make sure Qt bin path is before cmake bin path to avoid copying qt5 dlls from cmake before qt installation
- set PATH=%QTDIR%\bin;%PATH%
# OpenCV
2021-07-20 15:08:33 -04:00
- ps: wget 'https://dl.dropboxusercontent.com/s/o6ofn491bc0jso1/opencv450_vc14.exe?dl=0' -outfile opencv.exe
- cmd: opencv.exe -o"C:\Program Files" -y
2018-05-28 15:11:34 -04:00
- ECHO "Installed OpenCV:"
2021-07-20 15:08:33 -04:00
- ps: "ls \"C:/Program Files/opencv\""
- set PATH=%PATH%;C:\Program Files\opencv\x64\vc14\bin
2018-10-23 15:03:45 -04:00
# zlib
- ps: wget 'https://docs.google.com/uc?authuser=0&id=0B46akLGdg-uaYm9MTTI4MUtUcmc&export=download' -outfile zlib-1.2.8-vc2010-x64.zip
- ps: Expand-Archive zlib-1.2.8-vc2010-x64.zip -DestinationPath 'C:\Program Files'
- ECHO "Installed zlib:"
- ps: "ls \"C:/Program Files/zlib\""
- set PATH=%PATH%;C:\Program Files\zlib\bin
2018-05-28 15:11:34 -04:00
before_build:
2018-05-28 15:14:18 -04:00
- cd c:\projects\find-object\build
2018-05-28 15:11:34 -04:00
- ECHO %PROGRAMFILES%
- ECHO %PATH%
- cmake -G "Visual Studio 14 2015 Win64" -DOpenCV_DIR="C:\Program Files\opencv\build" ..
after_build :
- cmake --build . --config Release --target package
artifacts:
2018-05-28 15:19:08 -04:00
- path: build\Find-Object-*
2018-05-28 15:11:34 -04:00
notifications:
- provider: Email
to:
- matlabbe@email.com
on_build_success: false
on_build_failure: false
2018-10-23 15:03:45 -04:00
on_build_status_changed: true