diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 4711d38d..0313596b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -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