Appveyor: use VS 2019

This commit is contained in:
Nekotekina 2019-08-22 15:13:59 +03:00
parent 6165bd68c0
commit b70908c8f3
2 changed files with 7 additions and 3 deletions

View file

@ -1,10 +1,11 @@
version: '{build}' version: '{build}'
image: Visual Studio 2017 image: Visual Studio 2019
environment: environment:
QTDIR: C:\Qt\5.13\msvc2017_64 QTDIR: C:\Qt\5.13\msvc2017_64
QT_URL: https://cdn.discordapp.com/attachments/442667232489897997/614126952953020416/msvc2017_64.7z
LLVMLIBS: https://github.com/RPCS3/llvm/releases/download/continuous-master/llvmlibs.7z LLVMLIBS: https://github.com/RPCS3/llvm/releases/download/continuous-master/llvmlibs.7z
GLSLANG: https://dl.dropboxusercontent.com/s/ku2qgwmtfptzbvx/glslang.7z GLSLANG: https://dl.dropboxusercontent.com/s/ku2qgwmtfptzbvx/glslang.7z
COMPATDB: https://rpcs3.net/compatibility?api=v1&export COMPATDB: https://rpcs3.net/compatibility?api=v1&export
@ -16,6 +17,7 @@ cache:
- glslang.7z -> appveyor.yml - glslang.7z -> appveyor.yml
- compat_database.dat - compat_database.dat
- vulkan-sdk.exe -> appveyor.yml - vulkan-sdk.exe -> appveyor.yml
- msvc2017_64.7z -> appveyor.yml
install: install:
- ps: | # set env vars for versioning - ps: | # set env vars for versioning
@ -73,8 +75,10 @@ before_build:
) )
if (!(test-path llvmlibs.7z)) { irm $env:LLVMLIBS -outfile llvmlibs.7z } if (!(test-path llvmlibs.7z)) { irm $env:LLVMLIBS -outfile llvmlibs.7z }
if (!(test-path glslang.7z)) { irm $env:GLSLANG -outfile glslang.7z } if (!(test-path glslang.7z)) { irm $env:GLSLANG -outfile glslang.7z }
if (!(test-path msvc2017_64.7z)) { irm $env:QT_URL -outfile msvc2017_64.7z }
7z x llvmlibs.7z -aos -o"." | out-null 7z x llvmlibs.7z -aos -o"." | out-null
7z x glslang.7z -aos -o".\lib\$env:CONFIGURATION-$env:PLATFORM" | out-null 7z x glslang.7z -aos -o".\lib\$env:CONFIGURATION-$env:PLATFORM" | out-null
7z x msvc2017_64.7z -aos -o"C:\Qt\5.13" | out-null
if (!(test-path vulkan-sdk.exe)) if (!(test-path vulkan-sdk.exe))
{ {
foreach ($url in $VULKAN_SDK_URLS) { foreach ($url in $VULKAN_SDK_URLS) {

View file

@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Common default props for defining properties without macros. Import right before Microsoft.Cpp.Default.props --> <!-- Common default props for defining properties without macros. Import right before Microsoft.Cpp.Default.props -->
<ImportGroup Label="PropertySheets" /> <ImportGroup Label="PropertySheets" />
<PropertyGroup Label="UserMacros" /> <PropertyGroup Label="UserMacros" />
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup> </PropertyGroup>
<ItemDefinitionGroup> <ItemDefinitionGroup>
<ClCompile> <ClCompile>