Skip to content

Commit 519f0c1

Browse files
update matrix filter
1 parent 15e16a6 commit 519f0c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
script: "ci/test_conda.sh true"
7070
run_codecov: false
7171
# This selects "ARCH=amd64 + the latest supported Python + CUDA".
72-
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))]))
72+
matrix_filter: map(select(.ARCH == "amd64" and (.CUDA_VER|split(".")|map(tonumber)|.[0]) == 12)) | max_by(.PY_VER|split(".")|map(tonumber))
7373
build-wheels:
7474
needs:
7575
- compute-matrix
@@ -95,7 +95,7 @@ jobs:
9595
build_type: pull-request
9696
script: "ci/test_wheel.sh true"
9797
# This selects "ARCH=amd64 + the latest supported Python + CUDA".
98-
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))]))
98+
matrix_filter: map(select(.ARCH == "amd64" and (.CUDA_VER|split(".")|map(tonumber)|.[0]) == 12)) | max_by(.PY_VER|split(".")|map(tonumber))
9999
build-docs:
100100
needs:
101101
- build-conda

0 commit comments

Comments
 (0)