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:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -622,9 +622,13 @@ jobs:
|
|||||||
run: pnpm run check:ci
|
run: pnpm run check:ci
|
||||||
|
|
||||||
serial-windows:
|
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
|
name: serial / windows
|
||||||
runs-on: windows-2025
|
runs-on: [self-hosted, dsh-win-ci, windows]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
@@ -885,7 +889,7 @@ jobs:
|
|||||||
&& github.event.pull_request.user.login != 'dependabot[bot]'
|
&& github.event.pull_request.user.login != 'dependabot[bot]'
|
||||||
&& fromJSON('["self-hosted", "linux", "x64", "vm-backup"]')
|
&& fromJSON('["self-hosted", "linux", "x64", "vm-backup"]')
|
||||||
|| 'ubuntu-latest' }}
|
|| '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'
|
if: always() && github.event_name == 'pull_request'
|
||||||
steps:
|
steps:
|
||||||
- name: Fail if any needed job did not succeed
|
- name: Fail if any needed job did not succeed
|
||||||
|
|||||||
Reference in New Issue
Block a user