From 65047ac0e21450aa2064eee74b1a0f509cc189ad Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 29 Apr 2021 17:54:22 -0500 Subject: [PATCH] Switch to VS2019 build images for CI Requires suppressing warning C5105 caused by Windows SDK headers --- CMakeLists.txt | 2 +- appveyor.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 96cbbe5..4b08495 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ if (BUILD_SHARED_LIBS_OVERRIDE) endif() if(MSVC) - target_compile_options(moonlight-common-c PRIVATE /W3 /wd4100 /wd4232 /WX) + target_compile_options(moonlight-common-c PRIVATE /W3 /wd4100 /wd4232 /wd5105 /WX) target_link_libraries(moonlight-common-c PRIVATE ws2_32.lib qwave.lib winmm.lib) else() target_compile_options(moonlight-common-c PRIVATE -Wall -Wextra -Wno-unused-parameter -Werror) diff --git a/appveyor.yml b/appveyor.yml index 489d43c..0b5e653 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,9 +2,9 @@ clone_depth: 1 environment: matrix: - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 CMAKE_ARGS: -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -A Win32 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 CMAKE_ARGS: -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -A x64 - APPVEYOR_BUILD_WORKER_IMAGE: macOS BUILD_TARGET: macos