We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c626592 commit 1f466f9Copy full SHA for 1f466f9
.github/workflows/build-wheel.yml
@@ -203,7 +203,12 @@ jobs:
203
- name: Build cuda.bindings Cython tests
204
run: |
205
pip install $(ls ${{ env.CUDA_BINDINGS_ARTIFACTS_DIR }}/*.whl)[test]
206
- bash ${{ env.CUDA_BINDINGS_CYTHON_TESTS_DIR }}/build_tests.sh
+ if [[ "${{ inputs.host-platform }}" == linux* ]]; then
207
+ export CPLUS_INCLUDE_PATH=${CUDA_HOME}/include:${CPLUS_INCLUDE_PATH}
208
+ elif [[ "${{ inputs.host-platform }}" == win* ]]; then
209
+ export CL="${CL} /I\"${CUDA_HOME}\include\""
210
+ fi
211
+ cythonize -3 -i ${{ env.CUDA_BINDINGS_CYTHON_TESTS_DIR }}/test_*.pyx
212
213
# For caching
214
echo "PY_EXT_SUFFIX=$(python -c "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX'))")" >> $GITHUB_ENV
0 commit comments