mirror of
https://git.proxmox.com/git/cargo
synced 2025-04-28 13:48:54 +00:00
Clear disk space on CI.
This commit is contained in:
parent
af491f39a0
commit
65cc01075e
9
.github/workflows/main.yml
vendored
9
.github/workflows/main.yml
vendored
@ -54,6 +54,8 @@ jobs:
|
||||
other: i686-pc-windows-gnu
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Dump Environment
|
||||
run: ci/dump-environment.sh
|
||||
- name: Update Rustup (temporary workaround)
|
||||
run: rustup self update
|
||||
shell: bash
|
||||
@ -97,6 +99,13 @@ jobs:
|
||||
# download all workspaces.
|
||||
cargo test --manifest-path benches/benchsuite/Cargo.toml --all-targets -- cargo
|
||||
cargo check --manifest-path benches/capture/Cargo.toml
|
||||
# The testsuite generates a huge amount of data, and fetch-smoke-test was
|
||||
# running out of disk space.
|
||||
- name: Clear test output
|
||||
run: |
|
||||
df -h
|
||||
rm -rf target/tmp
|
||||
df -h
|
||||
- name: Fetch smoke test
|
||||
run: ci/fetch-smoke-test.sh
|
||||
|
||||
|
13
ci/dump-environment.sh
Executable file
13
ci/dump-environment.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
# This script dumps information about the build environment to stdout.
|
||||
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
echo "environment variables:"
|
||||
printenv | sort
|
||||
echo
|
||||
|
||||
echo "disk usage:"
|
||||
df -h
|
||||
echo
|
Loading…
Reference in New Issue
Block a user