diff --git a/ci/compute-matrix.jq b/ci/compute-matrix.jq index 5a0ea53..803ffd4 100644 --- a/ci/compute-matrix.jq +++ b/ci/compute-matrix.jq @@ -1,11 +1,12 @@ def compute_arch($x): ["amd64"] | if - ["ubuntu18.04", "centos7"] | index($x.LINUX_VER) != null + $x.CUDA_VER > "11.2.2" and + $x.LINUX_VER != "centos7" then - . - else . + ["arm64"] + else + . end | $x + {ARCHES: .}; diff --git a/ci/compute-matrix.sh b/ci/compute-matrix.sh index 03afcba..eac8bac 100755 --- a/ci/compute-matrix.sh +++ b/ci/compute-matrix.sh @@ -13,4 +13,4 @@ case "${BUILD_TYPE}" in ;; esac -yq -o json matrix.yaml | jq -c 'include "ci/compute-matrix"; compute_matrix(.)' +yq -o json '. | del(.LATEST_VERSIONS)' matrix.yaml | jq -c 'include "ci/compute-matrix"; compute_matrix(.)'