diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 5a1f683..a0bb9c3 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -16,6 +16,12 @@ env: COSIGN_PASSWORD: ${{ secrets.COSIGN_PASSWORD }} CARGO_TERM_COLOR: always RUSTFLAGS: "-D warnings" + # Job containers on the OVH runners get --cpus=2 --memory=3g, but cargo sees + # the host's 8 cores and ran up to 8 rustc with full debug info: the dashboard + # build was OOM-killed (signal 9). Two jobs to match the CPUs, and line tables + # only (backtraces keep file:line, no full variable info). + CARGO_BUILD_JOBS: "2" + CARGO_PROFILE_DEV_DEBUG: line-tables-only # Compile cache: sccache -> Hetzner S3 (breakpilot-sccache), runner-independent # and persistent across CI runs (own key prefix). Reuses the shared cluster S3 # creds (same bucket as werkpilot). Requires repo secrets HETZNER_S3_ACCESS_KEY