Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions .github/workflows/openbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
prepare: |
# Clean up disk space before installing packages
df -h
rm -rf /usr/share/doc/* /usr/share/man/* /var/cache/* /tmp/* || true
rm -rf /usr/share/relink/* /usr/X11R6/* /usr/share/doc/* /usr/share/man/* || :
pkg_add curl sudo-- jq coreutils bash rust rust-clippy rust-rustfmt llvm--
# Clean up package cache after installation
pkg_delete -a || true
Expand Down Expand Up @@ -115,8 +115,6 @@ jobs:
fi
# Clean to avoid to rsync back the files and free up disk space
cargo clean
# Additional cleanup to free disk space
rm -rf ~/.cargo/registry/cache ~/.cargo/git/db || true
if [ -n "\${FAIL_ON_FAULT}" ] && [ -n "\${FAULT}" ]; then exit 1 ; fi
EOF

Expand Down Expand Up @@ -144,10 +142,10 @@ jobs:
prepare: |
# Clean up disk space before installing packages
df -h
rm -rf /usr/share/doc/* /usr/share/man/* /var/cache/* /tmp/* || true
rm -rf /usr/share/relink/* /usr/X11R6/* /usr/share/doc/* /usr/share/man/* || :
pkg_add curl gmake sudo-- jq rust llvm--
# Clean up package cache after installation
pkg_delete -a || true
pkg_delete -a || :
df -h
run: |
## Prepare, build, and test
Expand Down Expand Up @@ -197,8 +195,6 @@ jobs:
cd "${WORKSPACE}"
unset FAULT
cargo build || FAULT=1
# Clean build artifacts to save disk space before testing
rm -rf target/debug/build target/debug/incremental || true
export PATH=~/.cargo/bin:${PATH}
export RUST_BACKTRACE=1
export CARGO_TERM_COLOR=always
Expand All @@ -216,6 +212,5 @@ jobs:
# Clean to avoid to rsync back the files and free up disk space
cargo clean
# Additional cleanup to free disk space
rm -rf ~/.cargo/registry/cache ~/.cargo/git/db target/debug/deps target/release/deps || true
if (test -n "\$FAULT"); then exit 1 ; fi
EOF
Loading