mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
AppVeyor - Upgrade Windows builds to Qt 6.8.3
Using Qt6 video and installing Python 3.7 not included anymore in latest AppVeyor image.
This commit is contained in:
25
appveyor.yml
25
appveyor.yml
@@ -6,7 +6,7 @@ branches:
|
|||||||
- master
|
- master
|
||||||
|
|
||||||
image:
|
image:
|
||||||
- Previous Visual Studio 2019
|
- Visual Studio 2019
|
||||||
- macos-monterey
|
- macos-monterey
|
||||||
- Ubuntu2204
|
- Ubuntu2204
|
||||||
|
|
||||||
@@ -54,14 +54,19 @@ environment:
|
|||||||
init:
|
init:
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
# Setup QT 5.15 - 64Bit
|
# Setup QT 6.8 - 64Bit
|
||||||
- cmd: set QTDIR=C:\Qt\5.15\msvc2019_64
|
- cmd: set QTDIR=C:\Qt\6.8\msvc2022_64
|
||||||
- cmd: set PATH=%QTDIR%\bin;%PATH%
|
- cmd: set PATH=%QTDIR%\bin;%PATH%
|
||||||
- cmd: qmake --version
|
- cmd: qmake --version
|
||||||
# Setup MSVC - VS 2019
|
# Setup MSVC - VS 2019
|
||||||
- cmd: call c:\"Program Files (x86)"\"Microsoft Visual Studio"\2019\Community\VC\Auxiliary\Build\vcvarsall.bat amd64
|
- cmd: call c:\"Program Files (x86)"\"Microsoft Visual Studio"\2019\Community\VC\Auxiliary\Build\vcvarsall.bat amd64
|
||||||
# Setup NSIS
|
# Setup NSIS
|
||||||
- cmd: set PATH=%PATH%;C:\"Program Files (x86)"\NSIS
|
- cmd: set PATH=%PATH%;C:\"Program Files (x86)"\NSIS
|
||||||
|
# install Python 3.7
|
||||||
|
- cmd: appveyor DownloadFile "https://www.python.org/ftp/python/3.7.9/python-3.7.9-amd64.exe"
|
||||||
|
- cmd: python-3.7.9-amd64.exe /quiet InstallAllUsers=1 PrependPath=1 TargetDir="C:\Python37-x64"
|
||||||
|
- cmd: c:\python37-x64\python --version
|
||||||
|
- cmd: del python-3.7.9-amd64.exe
|
||||||
|
|
||||||
# Linux / macOS
|
# Linux / macOS
|
||||||
- sh: >-
|
- sh: >-
|
||||||
@@ -105,7 +110,7 @@ install:
|
|||||||
|
|
||||||
# Get config
|
# Get config
|
||||||
- cmd: copy qwt\qwtconfig.pri.in qwt\qwtconfig.pri
|
- cmd: copy qwt\qwtconfig.pri.in qwt\qwtconfig.pri
|
||||||
- cmd: copy c:\libs\gcconfig64-Release.appveyor.pri src\gcconfig.pri
|
- cmd: copy c:\libs\gcconfig64Qt6-Release.appveyor.pri src\gcconfig.pri
|
||||||
|
|
||||||
# Get jom
|
# Get jom
|
||||||
- cmd: if not exist jom_1_1_3.zip appveyor DownloadFile "https://download.qt.io/official_releases/jom/jom_1_1_3.zip"
|
- cmd: if not exist jom_1_1_3.zip appveyor DownloadFile "https://download.qt.io/official_releases/jom/jom_1_1_3.zip"
|
||||||
@@ -180,6 +185,10 @@ before_build:
|
|||||||
# Avoid macro redefinition warnings
|
# Avoid macro redefinition warnings
|
||||||
- cmd: echo DEFINES+=_MATH_DEFINES_DEFINED >> src\gcconfig.pri
|
- cmd: echo DEFINES+=_MATH_DEFINES_DEFINED >> src\gcconfig.pri
|
||||||
|
|
||||||
|
# Avoid conflicts between Windows.h min/max macros and limits.h
|
||||||
|
- cmd: echo DEFINES+=NOMINMAX >> src\gcconfig.pri
|
||||||
|
|
||||||
|
|
||||||
# Linux / macOS
|
# Linux / macOS
|
||||||
- sh: bash appveyor/$OS_NAME/before_build.sh
|
- sh: bash appveyor/$OS_NAME/before_build.sh
|
||||||
# Define GC version string, only for tagged builds
|
# Define GC version string, only for tagged builds
|
||||||
@@ -212,7 +221,7 @@ build_script:
|
|||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
- cmd: qmake.exe build.pro -r -spec win32-msvc
|
- cmd: qmake.exe build.pro -r -spec win32-msvc
|
||||||
- cmd: if not exist qwt\lib\qwt.lib jom -j1 sub-qwt
|
- cmd: if not exist qwt\lib\qwt.lib jom -j1 sub-qwt & exit /b 1
|
||||||
- cmd: jom -j4 sub-src
|
- cmd: jom -j4 sub-src
|
||||||
|
|
||||||
# Linux / macOS
|
# Linux / macOS
|
||||||
@@ -233,8 +242,6 @@ after_build:
|
|||||||
- cmd: windeployqt --release GoldenCheetah.exe
|
- cmd: windeployqt --release GoldenCheetah.exe
|
||||||
- cmd: copy c:\libs\10_Precompiled_DLL\usbexpress_3.5.1\USBXpress\USBXpress_API\Host\x64\SiUSBXp.dll
|
- cmd: copy c:\libs\10_Precompiled_DLL\usbexpress_3.5.1\USBXpress\USBXpress_API\Host\x64\SiUSBXp.dll
|
||||||
- cmd: copy c:\libs\10_Precompiled_DLL\libsamplerate64\lib\libsamplerate-0.dll
|
- cmd: copy c:\libs\10_Precompiled_DLL\libsamplerate64\lib\libsamplerate-0.dll
|
||||||
- cmd: copy c:\libs\10_Precompiled_DLL\VLC\win64\lib\libvlc*.dll
|
|
||||||
- cmd: xcopy /s /i /e /q c:\libs\10_Precompiled_DLL\VLC\win64\plugins plugins
|
|
||||||
- cmd: copy c:\OpenSSL-v111-Win64\bin\lib*.dll
|
- cmd: copy c:\OpenSSL-v111-Win64\bin\lib*.dll
|
||||||
- cmd: copy c:\OpenSSL-v111-Win64\license.txt "OpenSSL License.txt"
|
- cmd: copy c:\OpenSSL-v111-Win64\license.txt "OpenSSL License.txt"
|
||||||
- cmd: xcopy /s /i /e /q C:\Python .
|
- cmd: xcopy /s /i /e /q C:\Python .
|
||||||
@@ -249,10 +256,10 @@ after_build:
|
|||||||
- cmd: copy ..\Resources\win32\gc.ico
|
- cmd: copy ..\Resources\win32\gc.ico
|
||||||
|
|
||||||
# Installer script
|
# Installer script
|
||||||
- cmd: copy ..\Resources\win32\GC3.7-Master-W64-QT5.nsi
|
- cmd: copy ..\Resources\win32\GC3.7-Master-W64-QT6.nsi
|
||||||
|
|
||||||
# Build the installer
|
# Build the installer
|
||||||
- cmd: makensis GC3.7-Master-W64-QT5.nsi
|
- cmd: makensis GC3.7-Master-W64-QT6.nsi
|
||||||
- cmd: move GoldenCheetah_v3.7_64bit_Windows.exe ..\..\GoldenCheetah_v3.7_x64.exe
|
- cmd: move GoldenCheetah_v3.7_64bit_Windows.exe ..\..\GoldenCheetah_v3.7_x64.exe
|
||||||
- cmd: cd ..\..
|
- cmd: cd ..\..
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user