33# SPDX-License-Identifier: Apache-2.0
44
55# Windows counterpart of test-sdist-linux.yml. Exists so that platform-gated
6- # sources (e.g. cuda_bindings /*_windows.pyx selected by build_hooks.py) are
6+ # sources (e.g. cuda_bindings_13 /*_windows.pyx selected by build_hooks.py) are
77# exercised by the sdist completeness test. Keep the shape of this file in
88# sync with test-sdist-linux.yml aside from Windows-specific setup (MSVC,
99# no sccache, no proxy cache).
@@ -108,7 +108,7 @@ jobs:
108108 host-platform : ${{ inputs.host-platform }}
109109 cuda-version : ${{ inputs.cuda-version }}
110110
111- # cuda_bindings /setup.py parses CUDA headers at import time, so CUDA_PATH
111+ # cuda_bindings_13 /setup.py parses CUDA headers at import time, so CUDA_PATH
112112 # (set by fetch_ctk) must be available for both sdist and wheel builds.
113113 # Constraint paths are passed as native Windows paths because the pip
114114 # subprocesses run outside Git Bash.
@@ -118,22 +118,22 @@ jobs:
118118 export CUDA_PYTHON_PARALLEL_LEVEL=$(nproc)
119119 export PIP_BUILD_CONSTRAINT="$(cygpath -w "$(pwd)/wheel-constraints/cuda-bindings.txt")"
120120 export PIP_CONSTRAINT="${PIP_BUILD_CONSTRAINT}"
121- python -m build --sdist cuda_bindings /
122- pip wheel --no-deps --wheel-dir cuda_bindings /dist cuda_bindings /dist/*.tar.gz
121+ python -m build --sdist cuda_bindings_13 /
122+ pip wheel --no-deps --wheel-dir cuda_bindings_13 /dist cuda_bindings_13 /dist/*.tar.gz
123123
124124 - name : Download cuda.bindings wheel
125125 if : ${{ env.BUILD_BINDINGS != 'true' && env.BUILD_CORE == 'true' }}
126126 uses : ./.github/actions/download-artifact-retry
127127 with :
128128 name : cuda-bindings-python312-cuda${{ inputs.cuda-version }}-${{ inputs.host-platform }}-${{ github.sha }}
129- path : cuda_bindings /dist
129+ path : cuda_bindings_13 /dist
130130
131131 - name : Constrain cuda.core to the local cuda.bindings wheel
132132 if : ${{ env.BUILD_CORE == 'true' }}
133133 run : |
134134 CUDA_MAJOR="$(echo '${{ inputs.cuda-version }}' | cut -d. -f1)"
135135 pathfinder_wheels=(cuda_pathfinder/dist/cuda_pathfinder-*.whl)
136- bindings_wheels=(cuda_bindings /dist/cuda_bindings-"${CUDA_MAJOR}".*.whl)
136+ bindings_wheels=(cuda_bindings_13 /dist/cuda_bindings-"${CUDA_MAJOR}".*.whl)
137137 test "${#pathfinder_wheels[@]}" -eq 1
138138 test "${#bindings_wheels[@]}" -eq 1
139139 test -f "${pathfinder_wheels[0]}"
0 commit comments