Skip to content

Commit 5c8e958

Browse files
committed
Update CI configs to use the latest windows images with Visual Studio 2026.
1 parent 16bc616 commit 5c8e958

3 files changed

Lines changed: 14 additions & 6 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Build job – runs on every push/PR. Includes test signing only.
2020
# ---------------------------------------------------------------------
2121
build:
22-
runs-on: windows-latest
22+
runs-on: windows-2025
2323
permissions:
2424
id-token: write
2525
contents: write
@@ -133,7 +133,7 @@ jobs:
133133
release:
134134
needs: build
135135
if: startsWith(github.ref, 'refs/tags/')
136-
runs-on: windows-latest
136+
runs-on: windows-2025
137137
environment: production # <-- manual approval point
138138
permissions:
139139
id-token: write

appveyor.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ pull_requests:
33
do_not_increment_build_number: true
44

55
version: "{branch} build {build}"
6-
image: Visual Studio 2022
6+
image: Visual Studio 2026
77

88
init:
99
- git --version
1010
- git config --global core.autocrlf true
11+
- cmake --version
1112

1213
install:
1314
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
@@ -16,6 +17,13 @@ install:
1617
- git submodule init
1718
- git submodule update
1819

20+
# The appveyor image contains cmake 4.1 only, which doesn't support VS 2016.
21+
# Download cmake 4.3.0 and add it to the PATH.
22+
- appveyor DownloadFile https://cmake.org/files/v4.3/cmake-4.3.0-windows-x86_64.zip -FileName cmake43.zip
23+
- 7z x cmake43.zip -oC:\cmake43
24+
- set "PATH=C:\cmake43\cmake-4.3.0-windows-x86_64\bin;%PATH%"
25+
- cmake --version # should print 4.3.0
26+
1927
build_script:
2028
- .\build.bat
2129

build.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
cmake . -Bbuild -G "Visual Studio 17 2022" -A Win32 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
1+
cmake . -Bbuild -G "Visual Studio 18 2026" -A Win32 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
22
cmake --build build --config Release
33

4-
cmake . -Bbuild64 -G "Visual Studio 17 2022" -A x64 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
4+
cmake . -Bbuild64 -G "Visual Studio 18 2026" -A x64 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
55
cmake --build build64 --config Release --target PIMETextService
66

7-
cmake . -Bbuild_arm64 -G "Visual Studio 17 2022" -A ARM64 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
7+
cmake . -Bbuild_arm64 -G "Visual Studio 18 2026" -A ARM64 -DCMAKE_POLICY_VERSION_MINIMUM=3.5
88
cmake --build build_arm64 --config Release --target PIMETextService
99

1010

0 commit comments

Comments
 (0)