From b7dd3bc812f1decaeefed7b77da59a800c73d339 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 5 Oct 2025 10:55:24 +0100 Subject: [PATCH] ci: maybe fix windows ci iscc.exe is no longer included in windows-2025, but we need it refs: https://github.com/actions/runner-images/issues/11644 --- .github/workflows/gen_windows.yml | 2 +- .github/workflows/gen_windows_continuous.yml | 2 +- .github/workflows/gen_windows_tag.yml | 2 +- ci/generate-workflows.py | 5 ++++- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gen_windows.yml b/.github/workflows/gen_windows.yml index 939c2e493..f9b3937ee 100644 --- a/.github/workflows/gen_windows.yml +++ b/.github/workflows/gen_windows.yml @@ -18,7 +18,7 @@ on: jobs: build: - runs-on: "windows-latest" + runs-on: "windows-2022" env: CARGO_INCREMENTAL: "0" diff --git a/.github/workflows/gen_windows_continuous.yml b/.github/workflows/gen_windows_continuous.yml index 462f23a27..c6a91b987 100644 --- a/.github/workflows/gen_windows_continuous.yml +++ b/.github/workflows/gen_windows_continuous.yml @@ -20,7 +20,7 @@ on: jobs: build: - runs-on: "windows-latest" + runs-on: "windows-2022" env: BUILD_REASON: "Schedule" diff --git a/.github/workflows/gen_windows_tag.yml b/.github/workflows/gen_windows_tag.yml index 7567b0a29..0db8794ec 100644 --- a/.github/workflows/gen_windows_tag.yml +++ b/.github/workflows/gen_windows_tag.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: "windows-latest" + runs-on: "windows-2022" env: CARGO_INCREMENTAL: "0" diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index 0cbc7fcdb..01d3e12f5 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -1013,7 +1013,10 @@ TARGETS = [ Target(container="fedora:40"), Target(container="fedora:41"), # Target(container="alpine:3.15"), - Target(name="windows", os="windows-latest", rust_target="x86_64-pc-windows-msvc"), + + # Windows is on 2022 for the time being due to + # https://github.com/actions/runner-images/issues/11644 + Target(name="windows", os="windows-2022", rust_target="x86_64-pc-windows-msvc"), ]