|
| 1 | +version: 0.1.0-{build} |
| 2 | +image: |
| 3 | +- Visual Studio 2015 |
| 4 | +platform: x64 |
| 5 | +configuration: Release |
| 6 | +pull_requests: |
| 7 | + do_not_increment_build_number: true |
| 8 | +#init: |
| 9 | +# # To get RDP details for the current build worker |
| 10 | +# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
| 11 | +#on_finish: |
| 12 | +# # If you need to investigate worker on build finish add $blockRdp = $true; to display Remote Desktop connection details and pause the build until a special “lock” file on VM desktop is deleted: |
| 13 | +# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |
| 14 | +environment: |
| 15 | + APPVEYOR_SAVE_CACHE_ON_ERROR: true |
| 16 | +cache: |
| 17 | +- C:\Tools\vcpkg\installed\ |
| 18 | +install: |
| 19 | +#- choco install OpenCV --params="'/Environment'" |
| 20 | +- vcpkg install opencv:x64-windows |
| 21 | +#- vcpkg install vtk:x64-windows |
| 22 | +#- vcpkg install pcl:x64-windows |
| 23 | +build_script: |
| 24 | +- dir "C:/Tools/vcpkg/installed/x64-windows" |
| 25 | +- dir "C:/Tools/vcpkg/installed/x64-windows/include" |
| 26 | +- dir "C:/Tools/vcpkg/installed/x64-windows/lib" |
| 27 | +- dir "C:/Tools/vcpkg/installed/x64-windows/bin" |
| 28 | +- cd build |
| 29 | +- call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64 |
| 30 | +- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64 |
| 31 | +- call "C:\Qt\5.10.1\msvc2015_64\bin\qmake.exe" ..\neuvision.pro -spec win32-msvc |
| 32 | +- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\nmake.exe" |
| 33 | +after_build: |
| 34 | +- cd %APPVEYOR_BUILD_FOLDER%/bin/release5 |
| 35 | +- call "C:\Qt\5.10.1\msvc2015_64\bin\windeployqt.exe" -concurrent Z3DScanner.exe |
| 36 | +- cp "C:/Tools/vcpkg/installed/x64-windows/bin"/*.dll . |
| 37 | +artifacts: |
| 38 | + # pushing entire folder as a zip archive |
| 39 | + - path: bin/release5 |
| 40 | + name: NEUVision-Windows-x64-v$(appveyor_build_version) |
| 41 | +deploy: |
| 42 | + release: NEUVision-Windows-x64-v$(appveyor_build_version) |
| 43 | + description: 'Automatic snapshot release from CI' |
| 44 | + provider: GitHub |
| 45 | + auth_token: |
| 46 | + secure: aHV+YRaW2BChwsCNWDuyIcIMS6WLL8Y/owvslumt0sXRrtbtPHHj3p7/7OdToJ5t |
| 47 | + artifact: /.*\.zip/ # upload all zip packages to release assets |
| 48 | + draft: true |
| 49 | + prerelease: true |
| 50 | + on: |
| 51 | + branch: master # release from master branch only |
| 52 | +# appveyor_repo_tag: true # deploy on tag push only |
0 commit comments