From 82d755d609a2a6bac5927b306ff0d4da3481782f Mon Sep 17 00:00:00 2001 From: "R. Tyler Croy" Date: Tue, 2 Jul 2024 16:48:07 +0000 Subject: [PATCH] Add some environment variables to reduce disk space consumption --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8fe7c69..254b735 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,6 +37,12 @@ jobs: test: runs-on: ubuntu-latest + env: + # Disable full debug symbol generation to speed up CI build and keep memory down + RUSTFLAGS: -C debuginfo=none + # Disable incremental builds by cargo for CI which should save disk space + # and hopefully avoid final link "No space left on device" + CARGO_INCREMENTAL: 0 steps: - uses: actions/checkout@v2 - name: Install minimum stable with clippy and rustfmt