diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-06-07 17:57:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 17:57:36 -0400 |
commit | 794f731238f5036a980b1e1e21e7b4acb652d914 (patch) | |
tree | fa82f306f7c69424968cbe3239fb2a3a8dbe3a1a | |
parent | 19f82b0eaa14f0df58fdfc685e60c8560582c5a4 (diff) |
ci: output file system space before and after building (#19409)
This will help give us better insight.
-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 |