Cleanup of CMakeLists.txt files.
- Bumped required cmake version to 3.9. - Added Appveyor CI YAML file for Windows builds
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
version: 3.99.0.{build}
|
||||
|
||||
branches:
|
||||
# blacklist
|
||||
except:
|
||||
- /.*/
|
||||
|
||||
# whitelist
|
||||
only:
|
||||
- master
|
||||
|
||||
skip_tags: true
|
||||
|
||||
image: Visual Studio 2017
|
||||
|
||||
init:
|
||||
- git config --global core.autocrlf true
|
||||
|
||||
install:
|
||||
- set QTDIR=c:\Qt\5.11\msvc2017_64
|
||||
- set PATH=%PATH%;%QTDIR%/bin
|
||||
|
||||
build_script:
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_PREFIX_PATH=%QTDIR% ..
|
||||
- cmake --build . --config Release
|
||||
- ctest -C Release
|
||||
- cpack -C Release -G NSIS64
|
||||
|
||||
artifacts:
|
||||
- path: build\glabels-3.99.0-win64.exe
|
||||
name: windows-installer
|
||||
|
||||
deploy:
|
||||
- provider: GitHub
|
||||
release: windows-continuous
|
||||
artifact: windows-installer
|
||||
auth_token:
|
||||
secure: mPNNgwWP58gu4eA2wVwGkGWNTzJigKj1g/XjsZ9vk03rLMmf5fxC/XNr15fPBCi8
|
||||
draft: false
|
||||
prerelease: true
|
||||
force_update: true
|
||||
on:
|
||||
branch: master
|
||||
Reference in New Issue
Block a user