File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 4545 CIBW_REPAIR_WHEEL_COMMAND_MACOS : " "
4646 # due to package and module name conflict have to temporarily move it away to run tests
4747 CIBW_BEFORE_TEST : " mv {package}/qsimcirq /tmp"
48+ CIBW_TEST_COMMAND_LINUX : " echo $PATH"
4849 CIBW_TEST_COMMAND_LINUX : " which nvcc"
4950 CIBW_TEST_COMMAND : " pytest {package}/qsimcirq_tests/qsimcirq_test.py && mv /tmp/qsimcirq {package}"
5051 steps :
6263 # - checks suggest CUDA is on the path...what now?
6364 # - might not be getting to CIBW
6465 # - tested CIBW_ENVIRONMENT: PATH=$PATH, no visible change
65- # - new test: `which nvcc` in CIBW
66+ # - new test: `which nvcc` in CIBW (FAILED)
67+ # - next up:
68+ # - try https://github.com/OpenNMT/CTranslate2/blob/master/.github/workflows/ci.yml
69+ # - CIBW_BEFORE_ALL_LINUX: <script to install CUDA / add to PATH>
6670 # - testing GPU on non-GPU machine will fail
6771 - name : cuda-toolkit
6872 if : ${{ matrix.os == 'ubuntu-20.04' }}
8488
8589 - name : Build wheels
8690 env :
87- CIBW_ENVIRONMENT : " PATH=$PATH"
91+ CIBW_ENVIRONMENT : " PATH=$PATH:/usr/local/cuda-11.2/bin "
8892 run : python -m cibuildwheel --output-dir wheelhouse
8993
9094 - uses : actions/upload-artifact@v2
You can’t perform that action at this time.
0 commit comments