Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 673c38c

Browse files
committed
Transfer ci/, .github/ changes from PR NVIDIA#864
1 parent dfa3384 commit 673c38c

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/test-wheel-linux.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,16 +321,15 @@ jobs:
321321
pip install $(ls cuda_python*.whl)[all]
322322
fi
323323
324-
- name: Install cuda.pathfinder nvidia_wheels_cu13
325-
if: startsWith(matrix.CUDA_VER, '13.')
324+
- name: Install cuda.pathfinder extra wheels for testing
326325
run: |
326+
set -euo pipefail
327327
pushd cuda_pathfinder
328-
pip install -v .[nvidia_wheels_cu13]
329-
pip freeze
328+
pip install -v ".[nvidia_wheels_cu${TEST_CUDA_MAJOR}]"
329+
pip list
330330
popd
331331
332332
- name: Run cuda.pathfinder tests with all_must_work
333-
if: startsWith(matrix.CUDA_VER, '13.')
334333
env:
335334
CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS: all_must_work
336335
run: run-tests pathfinder

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -288,17 +288,15 @@ jobs:
288288
pip install "$((Get-ChildItem -Filter cuda_python*.whl).FullName)[all]"
289289
}
290290
291-
- name: Install cuda.pathfinder nvidia_wheels_cu13
292-
if: startsWith(matrix.CUDA_VER, '13.')
291+
- name: Install cuda.pathfinder extra wheels for testing
293292
shell: bash --noprofile --norc -xeuo pipefail {0}
294293
run: |
295294
pushd cuda_pathfinder
296-
pip install -v .[nvidia_wheels_cu13]
297-
pip freeze
295+
pip install -v ".[nvidia_wheels_cu${TEST_CUDA_MAJOR}]"
296+
pip list
298297
popd
299298
300299
- name: Run cuda.pathfinder tests with all_must_work
301-
if: startsWith(matrix.CUDA_VER, '13.')
302300
env:
303301
CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS: all_must_work
304302
shell: bash --noprofile --norc -xeuo pipefail {0}

ci/tools/env-vars

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ elif [[ "${1}" == "test" ]]; then
6969
echo "SETUP_SANITIZER=${SETUP_SANITIZER}" >> $GITHUB_ENV
7070
echo "SKIP_CUDA_BINDINGS_TEST=${SKIP_CUDA_BINDINGS_TEST}" >> $GITHUB_ENV
7171
echo "SKIP_CYTHON_TEST=${SKIP_CYTHON_TEST}" >> $GITHUB_ENV
72+
echo "TEST_CUDA_MAJOR=${TEST_CUDA_MAJOR}" >> $GITHUB_ENV
7273
fi
7374

7475
echo "CUDA_BINDINGS_ARTIFACT_BASENAME=${CUDA_BINDINGS_ARTIFACT_BASENAME}" >> $GITHUB_ENV

0 commit comments

Comments
 (0)