Skip to content

Commit de8333e

Browse files
ci: update Windows runners to windows-2025-vs2026 with Visual Studio 18 2026
Replace windows-2022 + "Visual Studio 17 2022" CMake generator with windows-2025-vs2026 + "Visual Studio 18 2026" to test ahead of the GitHub Actions migration rolling out June 8–15, 2026. Also pin test-java-windows-x86_64 from windows-latest to windows-2025-vs2026 for consistency with the build jobs.
1 parent 4d227f2 commit de8333e

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ jobs:
196196
path: ${{ github.workspace }}/src/main/resources/net/ladenthin/llama/
197197

198198
build-windows-x86_64:
199-
name: Build and Test Windows 2022 x86_64
200-
runs-on: windows-2022
199+
name: Build and Test Windows 2025 x86_64 (VS 2026)
200+
runs-on: windows-2025-vs2026
201201
steps:
202202
- uses: actions/checkout@v6
203203
- name: Display CPU Info
@@ -214,7 +214,7 @@ jobs:
214214
- name: Build libraries
215215
shell: cmd
216216
run: |
217-
.github\build.bat -G "Visual Studio 17 2022" -A "x64" -DOS_NAME=Windows -DOS_ARCH=x86_64 -DBUILD_TESTING=ON
217+
.github\build.bat -G "Visual Studio 18 2026" -A "x64" -DOS_NAME=Windows -DOS_ARCH=x86_64 -DBUILD_TESTING=ON
218218
- name: Run C++ unit tests
219219
run: ctest --test-dir build --output-on-failure
220220
- name: Upload artifacts
@@ -224,8 +224,8 @@ jobs:
224224
path: ${{ github.workspace }}/src/main/resources/net/ladenthin/llama/
225225

226226
build-windows-x86:
227-
name: Build and Test Windows 2022 x86
228-
runs-on: windows-2022
227+
name: Build and Test Windows 2025 x86 (VS 2026)
228+
runs-on: windows-2025-vs2026
229229
steps:
230230
- uses: actions/checkout@v6
231231
- name: Display CPU Info
@@ -242,7 +242,7 @@ jobs:
242242
- name: Build libraries
243243
shell: cmd
244244
run: |
245-
.github\build.bat -G "Visual Studio 17 2022" -A "Win32" -DOS_NAME=Windows -DOS_ARCH=x86 -DBUILD_TESTING=ON
245+
.github\build.bat -G "Visual Studio 18 2026" -A "Win32" -DOS_NAME=Windows -DOS_ARCH=x86 -DBUILD_TESTING=ON
246246
- name: Run C++ unit tests
247247
run: ctest --test-dir build --output-on-failure
248248
- name: Upload artifacts
@@ -496,9 +496,9 @@ jobs:
496496
if-no-files-found: warn
497497

498498
test-java-windows-x86_64:
499-
name: Java Tests Windows Latest x86_64
499+
name: Java Tests Windows 2025 x86_64
500500
needs: build-windows-x86_64
501-
runs-on: windows-latest
501+
runs-on: windows-2025-vs2026
502502
steps:
503503
- uses: actions/checkout@v6
504504
- name: Display CPU Info

0 commit comments

Comments
 (0)