mirror of
https://github.com/denoland/deno.git
synced 2025-03-10 06:07:03 -04:00
ci: output file system space before and after building (#19409)
This will help give us better insight.
This commit is contained in:
parent
220a7d544a
commit
0a6f25a203
2 changed files with 10 additions and 2 deletions
7
.github/workflows/ci.generate.ts
vendored
7
.github/workflows/ci.generate.ts
vendored
|
@ -558,7 +558,12 @@ const ci = {
|
||||||
{
|
{
|
||||||
name: "Build debug",
|
name: "Build debug",
|
||||||
if: "matrix.job == 'test' && matrix.profile == '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 },
|
env: { CARGO_PROFILE_DEV_DEBUG: 0 },
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -336,7 +336,10 @@ jobs:
|
||||||
run: deno run --allow-write --allow-read --allow-run=git ./tools/node_compat/setup.ts --check
|
run: deno run --allow-write --allow-read --allow-run=git ./tools/node_compat/setup.ts --check
|
||||||
- name: Build debug
|
- name: Build debug
|
||||||
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (matrix.job == ''test'' && matrix.profile == ''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:
|
env:
|
||||||
CARGO_PROFILE_DEV_DEBUG: 0
|
CARGO_PROFILE_DEV_DEBUG: 0
|
||||||
- name: Build release
|
- name: Build release
|
||||||
|
|
Loading…
Add table
Reference in a new issue