File tree Expand file tree Collapse file tree 3 files changed +39
-4
lines changed Expand file tree Collapse file tree 3 files changed +39
-4
lines changed Original file line number Diff line number Diff line change 5454 uses : ./.github/workflows/conda-python-tests.yaml
5555 with :
5656 build_type : pull-request
57- script : " ci/test_conda.sh"
57+ script : " ci/test_conda.sh false "
5858 run_codecov : false
5959 matrix_filter : ${{ needs.compute-matrix.outputs.TEST_MATRIX }}
60+ test-conda-pynvjitlink :
61+ needs :
62+ - build-conda
63+ - compute-matrix
64+ uses : ./.github/workflows/conda-python-tests.yaml
65+ with :
66+ build_type : pull-request
67+ script : " ci/test_conda.sh true"
68+ run_codecov : false
69+ # This selects "ARCH=amd64 + the latest supported Python + CUDA".
70+ matrix_filter : map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]))
6071 build-wheels :
6172 needs :
6273 - compute-matrix
7283 uses : ./.github/workflows/wheels-test.yaml
7384 with :
7485 build_type : pull-request
75- script : " ci/test_wheel.sh"
86+ script : " ci/test_wheel.sh false "
7687 matrix_filter : ${{ needs.compute-matrix.outputs.TEST_MATRIX }}
88+ test-wheels-pynvjitlink :
89+ needs :
90+ - build-wheels
91+ - compute-matrix
92+ uses : ./.github/workflows/wheels-test.yaml
93+ with :
94+ build_type : pull-request
95+ script : " ci/test_wheel.sh true"
96+ # This selects "ARCH=amd64 + the latest supported Python + CUDA".
97+ matrix_filter : map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]))
7798 build-docs :
7899 needs :
79100 - build-conda
Original file line number Diff line number Diff line change 33
44set -euo pipefail
55
6+ USE_PYNVJITLINK = $1
7+
68. /opt/conda/etc/profile.d/conda.sh
79
810rapids-logger " Install testing dependencies"
@@ -42,8 +44,13 @@ EXITCODE=0
4244trap " EXITCODE=1" ERR
4345set +e
4446
47+ if [ " $USE_PYNVJITLINK " == true ]; then
48+ rapids-logger " Install pynvjitlink"
49+ conda install -c rapidsai pynvjitlink
50+ fi
51+
4552rapids-logger " Run Tests"
46- python -m numba.runtests numba.cuda.tests -v
53+ ENABLE_PYNVJITLINK= $USE_PYNVJITLINK python -m numba.runtests numba.cuda.tests -v
4754
4855popd
4956
Original file line number Diff line number Diff line change 33
44set -euo pipefail
55
6+ USE_PYNVJITLINK = $1
7+
68rapids-logger " Install testing dependencies"
79# TODO: Replace with rapids-dependency-file-generator
810python -m pip install \
911 psutil \
1012 cuda-python \
1113 pytest
1214
15+ if [ " $USE_PYNVJITLINK " == true ]; then
16+ rapids-logger " Install pynvjitlink"
17+ python -m pip install pynvjitlink
18+ fi
19+
1320rapids-logger " Install wheel"
1421package=$( realpath wheel/numba_cuda* .whl)
1522echo " Package path: $package "
@@ -26,6 +33,6 @@ rapids-logger "Show Numba system info"
2633python -m numba --sysinfo
2734
2835rapids-logger " Run Tests"
29- python -m numba.runtests numba.cuda.tests -v
36+ ENABLE_PYNVJITLINK= $USE_PYNVJITLINK python -m numba.runtests numba.cuda.tests -v
3037
3138popd
You can’t perform that action at this time.
0 commit comments