Skip to content

Commit e638f71

Browse files
committed
ci(build): revert Windows job to GitHub-hosted windows-2022
VM217 (c2pool-windows-217) is a bare self-hosted runner with no build toolchain — no cmake, no MSVC/VS 2022, no SDK — so the Windows lane fails at configure. GitHub-hosted windows-2022 ships all of it. Keep Linux (8 lanes -> VM905) and macOS (M4/Intel) on the self-hosted fleet with the fork-gate; only the Windows job falls back to github-hosted. Follow-up PR will flip Windows back to the fork-gated self-hosted expr once VM217 has the VS 2022 Build Tools C++ workload + cmake + deps installed and builds c2pool clean.
1 parent d497756 commit e638f71

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -639,11 +639,13 @@ jobs:
639639
name: Windows x86_64
640640
# dash-slice campaign: skip Windows for PRs carrying the dash-linux-only label (re-enabled at block-viable gate, ~07-01)
641641
if: ${{ !(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'dash-linux-only')) }}
642-
# Self-hosted fleet (VM217 c2pool-windows-217): internal-branch PRs and
643-
# pushes run on the self-hosted Windows runner for speed; fork PRs fall
644-
# back to GitHub-hosted windows-2022 so untrusted code never lands on the
645-
# self-hosted box (defense-in-depth atop the repo fork-approval gate).
646-
runs-on: ${{ (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository) && fromJSON('["self-hosted","Windows","X64","c2pool-build"]') || 'windows-2022' }}
642+
# GitHub-hosted windows-2022 (ships cmake + MSVC/VS 2022 + the SDK).
643+
# VM217 (c2pool-windows-217) is a bare runner with NO build toolchain yet;
644+
# FOLLOW-UP: once vm-fleet installs VS 2022 Build Tools (C++ workload) +
645+
# cmake + deps on VM217 and it builds c2pool clean, a follow-up PR flips
646+
# this back to the fork-gated self-hosted expr. Linux+macOS already on the
647+
# self-hosted fleet on this branch; Windows stays GitHub-hosted meanwhile.
648+
runs-on: windows-2022
647649
steps:
648650
- uses: actions/checkout@v6
649651

0 commit comments

Comments
 (0)