fix(ci): drop unsupported container platform option
KAR CUDA compile (GPU hidden) / kar-cuda-compile (pull_request) Failing after 4s

This commit is contained in:
Pavlo Ratushnyi
2026-10-07 14:13:21 +02:00
parent 8c19d82447
commit c1c70859aa
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,6 @@ jobs:
timeout-minutes: 150
container:
image: ubuntu@sha256:88a381d5b5eeb2b35d3ad70925a362c37ce569daf43ede89ff818ec20e4d3794
options: --platform linux/amd64
env:
NVIDIA_VISIBLE_DEVICES: void
CUDA_VISIBLE_DEVICES: ''
@@ -34,6 +33,7 @@ jobs:
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"
if compgen -G '/dev/nvidia*' >/dev/null; then
+1
View File
@@ -19,6 +19,7 @@ assert all(re.fullmatch(r'[0-9][A-Za-z0-9.+:~_-]*',v) for v in lock['apt_package
workflow=(ROOT/'.gitea/workflows/kar-cuda-compile.yml').read_text()
assert f"image: {lock['builder_image']}" in workflow
assert 'pull_request:' in workflow and '\n push:' not in workflow
assert 'options: --platform' not in workflow
assert 'NVIDIA_VISIBLE_DEVICES: void' in workflow
assert "CUDA_VISIBLE_DEVICES: ''" in workflow
assert 'docker run' not in workflow