Use root package install in Gitea job containers

This commit is contained in:
Pavlo Ratushnyi
2026-10-07 16:17:53 +02:00
parent 5c4aa294c8
commit a671271317
+7 -3
View File
@@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install build tools
run: sudo apt-get update && sudo apt-get install -y cmake ninja-build g++ python3-numpy
run: apt-get update && DEBIAN_FRONTEND=noninteractive 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
@@ -124,7 +124,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 musl-tools binutils
apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y musl-tools binutils docker.io
- name: Assemble pinned build-only CUDA components
run: python3 scripts/bootstrap-cuda-toolkit.py --output "$CUDAToolkit_ROOT"
- name: Build pinned GPU-hidden compiler image
@@ -260,7 +260,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 && DEBIAN_FRONTEND=noninteractive apt-get install -y musl-tools cmake binutils python3-numpy docker.io
- name: Install pinned Rust and target
run: |
rustup toolchain install 1.99.0 --profile minimal
@@ -395,6 +395,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Docker CLI and verify runner daemon
run: |
command -v docker >/dev/null 2>&1 || { apt-get update -qq; DEBIAN_FRONTEND=noninteractive apt-get install -y -qq docker.io; }
docker version
- name: Build actual CLI-only scratch image
run: docker build --file deploy/Dockerfile.static-cli --tag strata-cli-check .
- name: Check isolated CLI container startup and shutdown