From 8caf3a1a90d680d18ae0d6464348e373aff0d7cf Mon Sep 17 00:00:00 2001 From: Jondolf Date: Thu, 5 Oct 2023 18:10:14 +0300 Subject: [PATCH 1/2] Disable incremental compilation in CI to save space --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7d991f26..22023a29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,11 @@ jobs: - name: Install stable toolchain run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain stable + + # Disable incremental compilation to save disk space + - name: Disable incremental compilation + shell: bash + run: echo "CARGO_INCREMENTAL=0" >> $GITHUB_ENV - name: Run cargo test run: cargo test --no-default-features --features enhanced-determinism,collider-from-mesh,bevy_xpbd_2d/2d,bevy_xpbd_3d/3d,bevy_xpbd_2d/f64,bevy_xpbd_3d/f64 From db89c6671bc85d7badb84fd0d570a48d78a5f091 Mon Sep 17 00:00:00 2001 From: Jondolf Date: Sun, 8 Oct 2023 12:54:04 +0300 Subject: [PATCH 2/2] Check disk space in CI --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 22023a29..2ac105e0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,8 +37,20 @@ jobs: shell: bash run: echo "CARGO_INCREMENTAL=0" >> $GITHUB_ENV + - name: Check disk space in $GITHUB_WORKSPACE + run: du -s -h $GITHUB_WORKSPACE || true + - name: Check disk space in $GITHUB_WORKSPACE/* + run: du -s -h $GITHUB_WORKSPACE/* || true + - name: Check disk space on / + run: du -s -h / || true - name: Run cargo test run: cargo test --no-default-features --features enhanced-determinism,collider-from-mesh,bevy_xpbd_2d/2d,bevy_xpbd_3d/3d,bevy_xpbd_2d/f64,bevy_xpbd_3d/f64 + - name: Check disk space in $GITHUB_WORKSPACE + run: du -s -h $GITHUB_WORKSPACE || true + - name: Check disk space in $GITHUB_WORKSPACE/* + run: du -s -h $GITHUB_WORKSPACE/* || true + - name: Check disk space on / + run: du -s -h / || true lints: name: Lints