@@ -453,20 +453,17 @@ jobs:
453453 path : ${{ env.CUDA_CORE_CYTHON_TESTS_DIR }}/test_*${{ env.PY_EXT_SUFFIX }}
454454 if-no-files-found : error
455455
456- - name : Set up mini CTK for test binaries
456+ # Note: This overwrites CUDA_PATH etc
457+ - name : Set up mini CTK
457458 uses : ./.github/actions/fetch_ctk
458459 continue-on-error : false
459460 with :
460461 host-platform : ${{ inputs.host-platform }}
461462 cuda-version : ${{ inputs.prev-cuda-version }}
462- cuda-path : " ./cuda_toolkit_test_binaries "
463+ cuda-path : " ./cuda_toolkit_prev "
463464
464465 - name : Build cuda.core test binaries
465- run : |
466- TEST_CTK="$(realpath ./cuda_toolkit_test_binaries)"
467- export PATH="${TEST_CTK}/bin:${PATH}"
468- export CUDA_HOME="${TEST_CTK}"
469- bash ${{ env.CUDA_CORE_TEST_BINARIES_DIR }}/build_test_binaries.sh
466+ run : bash ${{ env.CUDA_CORE_TEST_BINARIES_DIR }}/build_test_binaries.sh
470467
471468 - name : Upload cuda.core test binaries
472469 uses : actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -475,15 +472,6 @@ jobs:
475472 path : ${{ env.CUDA_CORE_TEST_BINARIES_DIR }}/*.o
476473 if-no-files-found : error
477474
478- # Note: This overwrites CUDA_PATH etc
479- - name : Set up mini CTK
480- uses : ./.github/actions/fetch_ctk
481- continue-on-error : false
482- with :
483- host-platform : ${{ inputs.host-platform }}
484- cuda-version : ${{ inputs.prev-cuda-version }}
485- cuda-path : " ./cuda_toolkit_prev"
486-
487475 - name : Download cuda.bindings build artifacts from the prior branch
488476 env :
489477 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments