ci: install packages in root job containers
Linux / verify (pull_request) Failing after 9s
Linux / static-cuda-package (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / linux-static-cli (pull_request) Skipped
Linux / linux-cli-container (pull_request) Skipped
Linux / release-cli (pull_request) Skipped
Linux / keyless-cuda (pull_request) Canceled after 0s

This commit is contained in:
Pavlo Ratushnyi
2026-10-05 21:13:34 +02:00
parent d07df86a12
commit f0d4814649
+5 -3
View File
@@ -28,8 +28,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# The configured Gitea ubuntu-latest label runs a root node:24-bookworm job container;
# sudo is not installed there, so install packages directly.
- name: Install build tools
run: sudo apt-get update && sudo apt-get install -y cmake ninja-build g++ python3-numpy
run: apt-get update && apt-get install -y cmake ninja-build g++ python3-numpy
- name: Install pinned Rust
run: rustup toolchain install 1.99.0 --profile minimal --component rustfmt --component clippy
- name: Local checks
@@ -117,7 +119,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"
sudo apt-get update && sudo apt-get install -y gcc-13 g++-13 cmake ninja-build musl-tools binutils
apt-get update && apt-get install -y gcc-13 g++-13 cmake ninja-build musl-tools binutils
- name: Assemble pinned build-only CUDA components
run: python3 scripts/bootstrap-cuda-toolkit.py --output "$CUDAToolkit_ROOT"
- name: Record actual toolchain
@@ -195,7 +197,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install musl toolchain
run: sudo apt-get update && sudo apt-get install -y musl-tools cmake binutils python3-numpy
run: apt-get update && apt-get install -y musl-tools cmake binutils python3-numpy
- name: Install pinned Rust and target
run: |
rustup toolchain install 1.99.0 --profile minimal