From b4f4cc93837c3dd8df5a91e1cf8246b76806955f Mon Sep 17 00:00:00 2001 From: oech3 <> Date: Sun, 31 May 2026 20:23:12 +0900 Subject: [PATCH] openbsd.yml: avoid no space left on the device (missing crate) --- .github/workflows/openbsd.yml | 7 ++++++- .vscode/cspell.dictionaries/workspace.wordlist.txt | 1 + docs/src/packaging.md | 2 +- util/size-experiment.py | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/openbsd.yml b/.github/workflows/openbsd.yml index 38a5a729b9e..c25910954b0 100644 --- a/.github/workflows/openbsd.yml +++ b/.github/workflows/openbsd.yml @@ -134,6 +134,9 @@ jobs: - uses: actions/checkout@v6 with: persist-credentials: false + - name: Avoid no space left on device # Ubuntu runner, needed to extend VM image? + shell: bash + run: sudo rm -rf /usr/share/dotnet /usr/local/lib/android & - name: Prepare, build and test uses: vmactions/openbsd-vm@v1 with: @@ -203,13 +206,15 @@ jobs: export RUST_BACKTRACE=1 export CARGO_TERM_COLOR=always # Avoid filling disk space - export RUSTFLAGS="-C strip=symbols" + export RUSTFLAGS="-C strip=symbols -C debuginfo=0" # Use cargo test since nextest might not support OpenBSD if (test -z "\$FAULT"); then echo "::group::cargo test (workspace)" cargo test --features '${{ matrix.job.features }}' || FAULT=1 echo "::endgroup::" fi + # workaround for disk space (with performance drop) + cargo clean # There is no systemd-logind on OpenBSD, so test all features except feat_systemd_logind if (test -z "\$FAULT"); then echo "::group::cargo test (uucore)" diff --git a/.vscode/cspell.dictionaries/workspace.wordlist.txt b/.vscode/cspell.dictionaries/workspace.wordlist.txt index 16769ece5ce..eba5115d94c 100644 --- a/.vscode/cspell.dictionaries/workspace.wordlist.txt +++ b/.vscode/cspell.dictionaries/workspace.wordlist.txt @@ -1,5 +1,6 @@ # * cargo cdylib +debuginfo doctest # * crates diff --git a/docs/src/packaging.md b/docs/src/packaging.md index 2ea1696687c..11aedc7c411 100644 --- a/docs/src/packaging.md +++ b/docs/src/packaging.md @@ -1,6 +1,6 @@ # Packaging coreutils - + > **Note**: This page is intended as a guide for packaging the uutils coreutils > for package maintainers. Normal users probably do not need to read this. If you diff --git a/util/size-experiment.py b/util/size-experiment.py index d383c906e16..0917e2aa5ad 100755 --- a/util/size-experiment.py +++ b/util/size-experiment.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# spell-checker:ignore debuginfo + import subprocess from itertools import product import shutil