mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Update snapshot builds
To check the workflow on AppVeyor since they have granted us 90 min time limit. [publish binaries][skip travis]
This commit is contained in:
16
appveyor.yml
16
appveyor.yml
@@ -1,7 +1,3 @@
|
||||
# Warning: if you change this file qwt cache will be invalidated,
|
||||
# so it will be refreshed and the build terminated to store it.
|
||||
# RE-BUILD COMMIT is necessary to continue the build process.
|
||||
|
||||
version: ci.{build}
|
||||
clone_depth: 1
|
||||
skip_tags: true
|
||||
@@ -211,16 +207,20 @@ build_script:
|
||||
|
||||
# Windows
|
||||
- cmd: qmake.exe build.pro -r -spec win32-msvc
|
||||
- cmd: if not exist qwt\lib\qwt.lib jom -j1 sub-qwt & echo Re-build commit to continue & exit /b 1
|
||||
- cmd: if not exist qwt\lib\qwt.lib jom -j1 sub-qwt
|
||||
- cmd: jom -j4 sub-src
|
||||
|
||||
# Linux / macOS
|
||||
- sh: qmake build.pro -r QMAKE_CXXFLAGS_WARN_ON+="-Wno-unused-private-field -Wno-c++11-narrowing -Wno-deprecated-declarations -Wno-deprecated-register -Wno-nullability-completeness -Wno-sign-compare -Wno-inconsistent-missing-override" QMAKE_CFLAGS_WARN_ON+="-Wno-deprecated-declarations -Wno-sign-compare"
|
||||
- sh: if test ! -f qwt/lib/libqwt.a; then make sub-qwt; echo Re-build commit to continue; false; fi
|
||||
- sh: if test ! -f qwt/lib/libqwt.a; then make sub-qwt; fi
|
||||
- sh: make -j4 sub-src
|
||||
|
||||
after_build:
|
||||
|
||||
# Windows/macOS/Linux: set PUBLISH_BINARIES according to commit message
|
||||
- ps: Set-AppveyorBuildVariable -Name 'PUBLISH_BINARIES' -Value false
|
||||
- ps: if ($env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED -Match "\[publish binaries\]") { Set-AppveyorBuildVariable -Name 'PUBLISH_BINARIES' -Value true }
|
||||
|
||||
# Windows
|
||||
- cmd: cd src\release
|
||||
|
||||
@@ -250,8 +250,6 @@ after_build:
|
||||
- cmd: makensis GC3.7-Master-W64-QT5.nsi
|
||||
- cmd: move GoldenCheetah_v3.7_64bit_Windows.exe ..\..\GoldenCheetah_v3.7_x64.exe
|
||||
- cmd: cd ..\..
|
||||
- ps: if ($isWindows) { Set-AppveyorBuildVariable -Name 'PUBLISH_BINARIES' -Value false }
|
||||
- ps: if ($isWindows -And $env:APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED -Match "\[publish binaries\]") { Set-AppveyorBuildVariable -Name 'PUBLISH_BINARIES' -Value true }
|
||||
|
||||
# Linux / macOS
|
||||
- sh: bash appveyor/$OS_NAME/after_build.sh
|
||||
@@ -302,7 +300,7 @@ deploy:
|
||||
secure: 807DE/9vib/Kjz5Tah/Zc6zkoigLEWRzASw/DUWjLwZ5d8HHomXqWQ7iln4VtOqL
|
||||
release: snapshot
|
||||
description: 'Snapshot Builds'
|
||||
artifact: GCinstallerWindows, GCversionWindows, GCmacOSpackage, GCversionMacOS
|
||||
artifact: GCwindowsInstaller, GCversionWindows, GCmacOSpackage, GCversionMacOS, GClinuxAppImage, GCversionLinux
|
||||
draft: false
|
||||
prerelease: true
|
||||
force_update: true
|
||||
|
||||
@@ -131,7 +131,7 @@
|
||||
// the next two will with each build/release
|
||||
#define VERSION_LATEST 5005
|
||||
#define VERSION_STRING "V3.7"
|
||||
#define GC_VERSION VERSION_STRING // To force version string on non-tagged ci builds
|
||||
//#define GC_VERSION VERSION_STRING // To force version string on non-tagged ci builds
|
||||
|
||||
// default config for this release cycle
|
||||
#define VERSION_CONFIG_PREFIX "http://www.goldencheetah.org/defaults/3.7"
|
||||
|
||||
Reference in New Issue
Block a user