Update appveyor file and turn off /WX for clang-msvc
win32-clang-msvc has an error when compiling with /WX. The moc_predefs.h file is not being built correctly, while without /WX it works. The change should be reverted to enabling /WX for all msvc compilers when the clang-msvc issue is fixed. Update path to clang-format in appveyor file Retry CI on Python script Python script failed on CI due to run-clang-format.py: error: [Error 5] Access is denied. Research says attempting again might solve the problem.
This commit is contained in:
+14
-7
@@ -6,10 +6,17 @@ environment:
|
||||
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: 7z
|
||||
CLANG_FORMAT_LOC: '"C:\Program Files\LLVM\bin\clang-format.exe"'
|
||||
COMPILER: msvc
|
||||
VSVER: 14
|
||||
ZIP_LOC: '"C:\Program Files\7-zip\7z.exe"'
|
||||
LLVM_LOC: '"C:\Program Files\LLVM\bin\"'
|
||||
BUILD_PACKAGE: "1"
|
||||
|
||||
- QT_LOC: '"C:\Qt\5.11.2\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\"'
|
||||
BUILD_CLANG: '"1"'
|
||||
|
||||
|
||||
clone_depth: 1
|
||||
@@ -18,11 +25,11 @@ init:
|
||||
- set TAG_NAME=%APPVEYOR_REPO_TAG_NAME%
|
||||
|
||||
build_script:
|
||||
- python ./build_scripts/run-clang-format.py ./src -r --clang-format-executable %CLANG_FORMAT_LOC% --color always
|
||||
- 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.zip
|
||||
- path: bin\win64\AdvancedSettings*.7z
|
||||
name: portable
|
||||
- path: installer\AdvancedSettings-Installer.exe
|
||||
- path: installer\AdvancedSettings*.exe
|
||||
name: installer
|
||||
|
||||
Reference in New Issue
Block a user