The 5.11.2 version has been removed from AppVeyor leading to all builds failing due to lack of Qt install. The 5.12 folder is symlinked to the newest Qt version, preventing the need for changes during small updates and preventing failures when versions have been removed. This solves https://github.com/OpenVR-Advanced-Settings/OpenVR-AdvancedSettings/issues/53
39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
image: Visual Studio 2017
|
|
|
|
environment:
|
|
matrix:
|
|
- QT_LOC: '"C:\Qt\5.12\msvc2017_64\bin\"'
|
|
VS_LOC: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat"'
|
|
JOM_LOC: '"C:\Qt\Tools\QtCreator\bin\jom.exe"'
|
|
NSIS_LOC: '"C:\Program Files (x86)\NSIS\"'
|
|
ZIP_LOC: '"C:\Program Files\7-zip\7z.exe"'
|
|
LLVM_LOC: '"C:\Program Files\LLVM\bin\"'
|
|
PYTHON_LOC: '"C:\Python37\"'
|
|
BUILD_PACKAGE: "1"
|
|
|
|
- QT_LOC: '"C:\Qt\5.12\msvc2017_64\bin\"'
|
|
VS_LOC: '"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat"'
|
|
JOM_LOC: '"C:\Qt\Tools\QtCreator\bin\jom.exe"'
|
|
NSIS_LOC: '"C:\Program Files (x86)\NSIS\"'
|
|
ZIP_LOC: '"C:\Program Files\7-zip\7z.exe"'
|
|
LLVM_LOC: '"C:\Program Files\LLVM\bin\"'
|
|
PYTHON_LOC: '"C:\Python37\"'
|
|
BUILD_PACKAGE: "1"
|
|
BUILD_CLANG: '"1"'
|
|
|
|
|
|
clone_depth: 1
|
|
|
|
init:
|
|
- set TAG_NAME=%APPVEYOR_REPO_TAG_NAME%
|
|
|
|
build_script:
|
|
- python ./build_scripts/run-clang-format.py ./src -r --clang-format-executable "C:\Program Files\LLVM\bin\clang-format.exe" --color always
|
|
- call "build_windows.cmd"
|
|
|
|
artifacts:
|
|
- path: bin\win64\AdvancedSettings*.7z
|
|
name: portable
|
|
- path: installer\AdvancedSettings*.exe
|
|
name: installer
|