diff options
-rwxr-xr-x | .github/workflows/ci.generate.ts | 7 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/.github/workflows/ci.generate.ts b/.github/workflows/ci.generate.ts index 2e99e3f9b..b9a60f76b 100755 --- a/.github/workflows/ci.generate.ts +++ b/.github/workflows/ci.generate.ts @@ -558,7 +558,12 @@ const ci = { { name: "Build debug", if: "matrix.job == 'test' && matrix.profile == 'debug'", - run: "cargo build --locked --all-targets", + run: [ + // output fs space before and after building + "df -h", + "cargo build --locked --all-targets", + "df -h", + ].join("\n"), env: { CARGO_PROFILE_DEV_DEBUG: 0 }, }, { diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 690d98caf..f1c13959f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -336,7 +336,10 @@ jobs: run: deno run --allow-write --allow-read --allow-run=git ./tools/node_compat/setup.ts --check - name: Build debug if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (matrix.job == ''test'' && matrix.profile == ''debug'')' - run: cargo build --locked --all-targets + run: |- + df -h + cargo build --locked --all-targets + df -h env: CARGO_PROFILE_DEV_DEBUG: 0 - name: Build release |