diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index d183458..724e6dd 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -11,6 +11,12 @@ jobs: rust: name: cargo test runs-on: ubuntu-latest + # The job ran out of memory linking the test binaries (ld killed with + # signal 9, run 705 twice): no debug info, and at most two links at once. + # What is tested does not change. + env: + CARGO_PROFILE_DEV_DEBUG: "0" + CARGO_BUILD_JOBS: "2" steps: - uses: actions/checkout@v4 # rust-toolchain.toml pins the channel (with clippy); rustup installs it on