fix(ci): install Python before CUDA build checks
KAR CUDA compile (GPU hidden) / kar-cuda-compile (pull_request) Failing after 1m8s

This commit is contained in:
Pavlo Ratushnyi
2026-10-07 14:17:24 +02:00
parent 90d6d2db20
commit 25d2c07fde
+1 -1
View File
@@ -56,7 +56,6 @@ jobs:
shell: bash
run: |
set -euo pipefail
python3 scripts/test-kar-cuda-build-lock.py
test "$(dpkg --print-architecture)" = amd64
test "$NVIDIA_VISIBLE_DEVICES" = void
test -z "$CUDA_VISIBLE_DEVICES"
@@ -73,6 +72,7 @@ jobs:
make=4.4.1-3 \
python3=3.14.3-0ubuntu2
dpkg-query -W -f='${Package}=${Version}\n' ca-certificates cmake gcc-13 g++-13 git make python3
python3 scripts/test-kar-cuda-build-lock.py
CXX=g++-13 scripts/test-kar-expert-cache.sh
python3 scripts/bootstrap-cuda-toolkit.py --output /tmp/cuda-toolkit
export CUDACXX=/tmp/cuda-toolkit/bin/nvcc