Skip to content

Commit edd69fb

Browse files
authored
Update CI jobs that use Windows Server 2025 to use Visual Studio 2026. (#2164)
As per actions/runner-images#14017 the Windows Server 2025 image now ships with VS 2026 instead of VS 2022.
1 parent 6ba29cf commit edd69fb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build_and_test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -706,11 +706,11 @@ jobs:
706706
matrix:
707707
include:
708708
- os: windows-2025
709-
platform: "Visual Studio 17 2022"
709+
platform: "Visual Studio 18 2026"
710710
arch: Win32
711711
pcap_lib: "winpcap"
712712
- os: windows-2025
713-
platform: "Visual Studio 17 2022"
713+
platform: "Visual Studio 18 2026"
714714
arch: "x64"
715715
pcap_lib: ${{ needs.define-windows-pcap-backend-matrix.outputs.npcap-or-default }}
716716
- os: windows-2022
@@ -813,7 +813,7 @@ jobs:
813813
# The visual studio generator is a multi-config generator. This means that the executable will be in a configuration subfolder (e.g., Debug or Release),
814814
# relative to the target folder. Example: $(BuildDir)/Test/Packet++Test/Debug/Packet++Test.exe
815815
- name: Configure PcapPlusPlus (WinDivert)
816-
run: cmake -A x64 -G "Visual Studio 17 2022" -DPCAP_ROOT=${{ env.PCAP_SDK_DIR }} -DPCAPPP_USE_WINDIVERT=ON -DWinDivert_ROOT=${{ env.WINDIVERT_DIR }} -S . -B "$env:BUILD_DIR"
816+
run: cmake -A x64 -G "Visual Studio 18 2026" -DPCAP_ROOT=${{ env.PCAP_SDK_DIR }} -DPCAPPP_USE_WINDIVERT=ON -DWinDivert_ROOT=${{ env.WINDIVERT_DIR }} -S . -B "$env:BUILD_DIR"
817817

818818
- name: Build PcapPlusPlus
819819
run: cmake --build $env:BUILD_DIR -j

0 commit comments

Comments
 (0)