mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-02-16 02:21:07 +00:00
Switch to VS2019 build images for CI
Requires suppressing warning C5105 caused by Windows SDK headers
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user