ci: run real-windows check on self-hosted runners

Enable serial-windows to execute the complete check:ci on the in-house
self-hosted Windows pool instead of the disabled hosted windows-2025
lane. Point the job at [self-hosted, dsh-win-ci, windows] and wire it
into all-checks-passed so it gates pull requests.

The Wine-emulated windows job remains the required win32 signal for
PRs that cannot reach the self-hosted pool; this lane adds a real
native-Windows run where one is available.
This commit is contained in:
Chinesezjc
2026-08-10 17:56:36 +08:00
parent d2321d210a
commit e389900f7d

View File

@@ -622,9 +622,13 @@ jobs:
run: pnpm run check:ci
serial-windows:
if: false
# Real-Windows signal on the in-house self-hosted Windows pool. This lane
# runs the complete primary Node CI on actual Windows (in contrast to the
# Wine-emulated `windows` job), so win32-native output is exercised where
# it matters. Selector matches our self-hosted runners by label.
if: github.event_name == 'pull_request'
name: serial / windows
runs-on: windows-2025
runs-on: [self-hosted, dsh-win-ci, windows]
steps:
- uses: actions/checkout@v6
@@ -885,7 +889,7 @@ jobs:
&& github.event.pull_request.user.login != 'dependabot[bot]'
&& fromJSON('["self-hosted", "linux", "x64", "vm-backup"]')
|| 'ubuntu-latest' }}
needs: [node-24, node-24-coverage, node-24-consumers, node-compat, python-sdk, windows]
needs: [node-24, node-24-coverage, node-24-consumers, node-compat, python-sdk, windows, serial-windows]
if: always() && github.event_name == 'pull_request'
steps:
- name: Fail if any needed job did not succeed