diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index 114ac9b..a4e9333 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -48,6 +48,16 @@ jobs: run: | test -n "${TEST_DATABASE_URL:-}" || { echo "TEST_DATABASE_URL secret is not set - see docs/LIVE_SERVER_RUNBOOK.md step 6"; exit 1; } + - name: Install build toolchain + if: steps.check.outputs.run == 'true' + run: | + set -euo pipefail + # The bare bookworm runner image (unlike build.yaml's Dockerfile-based + # builds) has no C toolchain at all - proc-macro2/libc/etc. build + # scripts need `cc` to link, which fails immediately without this. + apt-get update -qq + apt-get install -y -qq build-essential pkg-config + - name: Install Rust if: steps.check.outputs.run == 'true' run: |