mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
ci: output file system space before and after building (#19409)
This will help give us better insight.
This commit is contained in:
parent
19f82b0eaa
commit
794f731238
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",
|
||||
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 },
|
||||
},
|
||||
{
|
||||
|
|
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
|
||||
- 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
|
||||
|
|
Loading…
Reference in a new issue