Przeglądaj źródła

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.
Chinesezjc 1 miesiąc temu
rodzic
commit
e389900f7d
1 zmienionych plików z 7 dodań i 3 usunięć
  1. 7 3
      .github/workflows/ci.yml

+ 7 - 3
.github/workflows/ci.yml

@@ -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