Skip to content

Commit 4835d1d

Browse files
committed
Use a newer CMake for Qt5.12 CI
We require at least CMake 3.18 because of the use of ARCHIVE_EXTRACT.
1 parent 7547edc commit 4835d1d

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.appveyor.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,10 @@ environment:
4242
VSPATH: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\SDK\ScopeCppSDK\VC\bin
4343
QT_VERSION_MAJOR: 5
4444
QT_BASEDIR: C:\Qt\5.12\msvc2017_64
45-
CMAKE_GENERATOR: Visual Studio 15 2017 Win64
46-
CMAKE_ARGS: --
45+
CMAKE_GENERATOR: Visual Studio 15 2017
46+
CMAKE_ARGS: -A x64
47+
cmakeURL: https://github.com/Kitware/CMake/releases/download/v3.18.6/cmake-3.18.6-win64-x64.zip
48+
cmakeBaseName: cmake-3.18.6-win64-x64
4749
exiv2url: https://github.com/10110111/exiv2/releases/download/ver0.28.0-final/exiv2-0.28.0-2017msvc64.zip
4850
exiv2baseName: exiv2-0.28.0-2017msvc64
4951
scConverterEnabled: false
@@ -113,6 +115,10 @@ before_build:
113115

114116
- ps: if($env:exiv2url -ne $null) { appveyor DownloadFile $env:exiv2url -FileName c:\$env:exiv2baseName.zip }
115117
- ps: if($env:exiv2url -ne $null) { 7z e c:\$env:exiv2baseName.zip -spf -oc:\ }
118+
- ps: if($env:cmakeURL -ne $null) { appveyor DownloadFile $env:cmakeURL -FileName c:\$env:cmakeBaseName.zip }
119+
- ps: if($env:cmakeURL -ne $null) { 7z e c:\$env:cmakeBaseName.zip -spf -oc:\ }
120+
- ps: if($env:cmakeURL -ne $null) { $env:PATH="c:\$env:cmakeBaseName\bin;$env:PATH" }
121+
116122
- if [%PUBLISH_BINARY%]==[true] appveyor DownloadFile https://github.com/Stellarium/stellarium-data/releases/download/guide/guide.pdf -FileName c:\stellarium\guide\guide.pdf
117123

118124
- ps: if($env:INSTALL_CONVERTER_DEPS -eq "true") { appveyor DownloadFile $env:gettextURL -FileName c:\$env:gettextBaseName.zip }

0 commit comments

Comments
 (0)