Fix Windows CI

Closes #2863
This commit is contained in:
halx99
2026-05-16 00:00:17 +08:00
committed by Camilla Löwy
parent b00e6a8a88
commit 6c397996b8

View File

@@ -74,8 +74,8 @@ jobs:
- name: Build Cocoa shared library
run: cmake --build build-cocoa-shared --parallel
build-windows-vs2022:
name: Windows (VS2022)
build-windows-msvc:
name: Windows (MSVC)
runs-on: windows-latest
timeout-minutes: 4
env:
@@ -84,17 +84,17 @@ jobs:
- uses: actions/checkout@v5
- name: Configure Win32 shared x86 library
run: cmake -B build-win32-shared-x86 -G "Visual Studio 17 2022" -A Win32 -D BUILD_SHARED_LIBS=ON
run: cmake -B build-win32-shared-x86 -A Win32 -D BUILD_SHARED_LIBS=ON
- name: Build Win32 shared x86 library
run: cmake --build build-win32-shared-x86 --parallel
- name: Configure Win32 static x64 library
run: cmake -B build-win32-static-x64 -G "Visual Studio 17 2022" -A x64
run: cmake -B build-win32-static-x64 -A x64
- name: Build Win32 static x64 library
run: cmake --build build-win32-static-x64 --parallel
- name: Configure Win32 shared x64 library
run: cmake -B build-win32-shared-x64 -G "Visual Studio 17 2022" -A x64 -D BUILD_SHARED_LIBS=ON
run: cmake -B build-win32-shared-x64 -A x64 -D BUILD_SHARED_LIBS=ON
- name: Build Win32 shared x64 library
run: cmake --build build-win32-shared-x64 --parallel