CI cleanup/updates
- Create versioned snapshots - include MacOS build -- still needs test and deploy steps - include barcode and libqrencode in Linux build - include libqrencode in Windows build Updated README and TODO files.
This commit is contained in:
+12
-6
@@ -1,7 +1,6 @@
|
||||
# Build glabels windows installer.
|
||||
#
|
||||
# Currently, only builds snapshots and is truggered by the travis CI AppImage build, which
|
||||
# moves the "continuous" release/tag to head. This script deploys into this moved release.
|
||||
# Currently, only builds snapshots and is triggered by the travis CI build.
|
||||
|
||||
|
||||
version: 3.99.0.{build}
|
||||
@@ -23,25 +22,32 @@ init:
|
||||
- git config --global core.autocrlf true
|
||||
|
||||
install:
|
||||
# Locate Qt installation
|
||||
- set QTDIR=c:\Qt\5.11\msvc2017_64
|
||||
- set PATH=%PATH%;%QTDIR%/bin
|
||||
- set PATH=%PATH%;%QTDIR%\bin
|
||||
# Zlib and QREncode
|
||||
- vcpkg install zlib:x64-windows
|
||||
- vcpkg install libqrencode:x64-windows
|
||||
- vcpkg integrate install
|
||||
|
||||
build_script:
|
||||
- git checkout master # re-attach to master to satisfy auto version tooling
|
||||
- mkdir build
|
||||
- cd build
|
||||
- cmake -G "Visual Studio 15 2017 Win64" -DCMAKE_PREFIX_PATH=%QTDIR% ..
|
||||
- cmake -G "Visual Studio 15 2017 Win64" .. -DCMAKE_PREFIX_PATH=%QTDIR% -DCMAKE_TOOLCHAIN_FILE=C:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake
|
||||
- cmake --build . --config Release
|
||||
- ctest -C Release
|
||||
- cpack -C Release -G NSIS64
|
||||
- set /P VERSION=<VERSION
|
||||
- move glabels-3.99.0-win64.exe glabels-%VERSION%-win64.exe
|
||||
|
||||
artifacts:
|
||||
- path: build\glabels-3.99.0-win64.exe
|
||||
- path: build\glabels-%VERSION%-win64.exe
|
||||
name: windows-installer
|
||||
|
||||
deploy:
|
||||
- provider: GitHub
|
||||
release: continuous
|
||||
release: glabels-%VERSION%
|
||||
artifact: windows-installer
|
||||
auth_token:
|
||||
secure: mPNNgwWP58gu4eA2wVwGkGWNTzJigKj1g/XjsZ9vk03rLMmf5fxC/XNr15fPBCi8
|
||||
|
||||
Reference in New Issue
Block a user