Skip to content

Commit 64d6586

Browse files
authored
ci: pin zig x86_64-windows job to windows-2022 (#3222)
### Description of Changes `windows-latest` now resolves to windows-2025, for which Zig 0.15.2 is apparently broken. This change pins the job to windows-2022. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
1 parent b986b61 commit 64d6586

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/zig.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
- host: ubuntu-24.04-arm
2222
target_arch: aarch64
2323
target_system: Linux
24-
- host: windows-latest
24+
# Broken on windows-2025
25+
- host: windows-2022
2526
target_arch: x86_64
2627
target_system: Windows
2728
- host: ubuntu-latest
@@ -68,6 +69,10 @@ jobs:
6869
# Each step runs unconditionally (no `set -e`) so we see results from
6970
# every stage even when an earlier one fails. The wrapper reports
7071
# zig's real exit status (including 139 for SIGSEGV) on failure.
72+
# Log the runner image up front so a `*-latest` rollover (or our own
73+
# pin bump) is correlated with any new failure without having to dig
74+
# through the collapsed "Set up job" group.
75+
echo "=== runner image: ${ImageOS:-unknown} ${ImageVersion:-unknown} ==="
7176
set -x
7277
probe() {
7378
echo "=== probe: $* ==="

0 commit comments

Comments
 (0)