1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

ci: output file system space before and after building (#19409)

This will help give us better insight.
This commit is contained in:
David Sherret 2023-06-07 17:57:36 -04:00 committed by GitHub
parent 19f82b0eaa
commit 794f731238
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -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 },
},
{

View file

@ -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