Skip to content

Commit 6db2eb8

Browse files
committed
CI: fix build-docs step order and tolerate Windows 3.11-3.13 lanes
* `build-docs.yml`: run `actions/checkout` before the local `upgrade-ca-certificates` composite; the composite file does not exist on the runner until checkout has populated the repo. * `test-wheel-windows.yml`: scope `continue-on-error` to the Windows 3.11/3.12/3.13 matrix entries while actions/setup-python#1383 (missing patched Windows binaries for the 3.11.18 / 3.12.16 / 3.13.18 security releases) is open. Other Windows and non-Windows lanes still fail hard.
1 parent d092e8a commit 6db2eb8

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎.github/workflows/build-docs.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ jobs:
4444
if: ${{ github.repository_owner == 'nvidia' && !cancelled() }}
4545
runs-on: ubuntu-latest
4646
steps:
47-
- name: Harden OS certificate trust
48-
uses: ./.github/actions/upgrade-ca-certificates
49-
5047
- name: Checkout ${{ github.event.repository.name }}
5148
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
5249
with:
5350
fetch-depth: 0
5451
ref: ${{ inputs.git-tag }}
5552

53+
- name: Harden OS certificate trust
54+
uses: ./.github/actions/upgrade-ca-certificates
55+
5656
- name: Set up Python 3.12
5757
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
5858
with:

‎.github/workflows/test-wheel-windows.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ jobs:
6464
matrix: ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }}
6565
runs-on: "windows-${{ matrix.ARCH }}-gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }}-${{ matrix.GPU_COUNT }}"
6666
timeout-minutes: 30
67+
# Tolerate failures while actions/setup-python#1383 (Windows 3.11/3.12/3.13
68+
# patched binaries missing from the manifest) is open.
69+
continue-on-error: ${{ contains(fromJSON('["3.11","3.12","3.13"]'), matrix.PY_VER) }}
6770
if: ${{ github.repository_owner == 'nvidia' && !cancelled() }}
6871
steps:
6972
- name: Checkout ${{ github.event.repository.name }}

0 commit comments

Comments
 (0)