fix: install GNU time for CUDA packaging job
Linux / verify (pull_request) Successful in 3m16s
Linux / keyless-cuda (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / linux-cli-container (pull_request) Successful in 28s
Linux / linux-static-cli (pull_request) Successful in 5m37s
Linux / release-cli (pull_request) Skipped

This commit is contained in:
Pavlo Ratushnyi
2026-10-06 06:06:05 +02:00
parent 4125a0305f
commit 70f99ba63e
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ jobs:
echo "CUDACXX=$RUNNER_TEMP/strata-cuda-toolkit/bin/nvcc" >> "$GITHUB_ENV"
echo "CUDAToolkit_ROOT=$RUNNER_TEMP/strata-cuda-toolkit" >> "$GITHUB_ENV"
echo "STRATA_BUILD_DIR=$RUNNER_TEMP/strata-hosted-cuda-engine" >> "$GITHUB_ENV"
apt-get update && apt-get install -y ca-certificates curl docker.io gh musl-tools binutils python3-numpy
apt-get update && apt-get install -y ca-certificates curl docker.io gh musl-tools binutils python3-numpy time
- name: Assemble pinned build-only CUDA components
run: python3 scripts/bootstrap-cuda-toolkit.py --output "$CUDAToolkit_ROOT"
- name: Record actual toolchain
+2
View File
@@ -232,6 +232,8 @@ else:
self.assertIn('runs-on: ubuntu-latest', job)
self.assertIn('scripts/build-cuda-engine-in-docker.py', job)
self.assertIn('gh release create', job)
self.assertRegex(job, r'apt-get install -y .*\btime\b')
self.assertIn('/usr/bin/time -v python3 scripts/build-linux-package.py', job)
self.assertNotIn('strata-gpu', job)
self.assertNotIn('actions/upload-artifact', job)
self.assertNotIn('static_cuda_package', workflow)