Skip to content

Commit 23f85f5

Browse files
PATH testing
1 parent 5c60150 commit 23f85f5

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

.github/workflows/testing_wheels.yml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,25 @@ jobs:
5555
# Install NVCC on Ubuntu to include GPU in the wheel.
5656
# TODO: open issues
5757
# - `which nvcc` finds nothing? (need to add to path?)
58+
# - nope, confirmed working at workflow level
59+
# - might still be unavailable lower down? seems unlikely
60+
# - still skipping GPU-based tests
5861
# - testing GPU on non-GPU machine will fail
5962
- name: cuda-toolkit
6063
if: ${{ matrix.os == 'ubuntu-20.04' }}
6164
uses: Jimver/cuda-toolkit@v0.2.4
6265

63-
- name: Check for NVCC
64-
run: which nvcc
66+
- name: First check
67+
if: ${{ matrix.os == 'ubuntu-20.04' }}
68+
run: echo "Cuda install location: ${{steps.cuda-toolkit.outputs.CUDA_PATH}}"
69+
70+
- name: Second check
71+
if: ${{ matrix.os == 'ubuntu-20.04' }}
72+
run: echo $PATH
73+
74+
- name: Third check
75+
if: ${{ matrix.os == 'ubuntu-20.04' }}
76+
run: PATH="${PATH}:${{steps.cuda-toolkit.outputs.CUDA_PATH}}"
6577

6678
- name: Install cibuildwheel and twine
6779
run: python -m pip install cibuildwheel==1.11.0

0 commit comments

Comments
 (0)