Skip to content

perf: free build space and install deps faster#74

Merged
RoyalOughtness merged 3 commits intosecureblue:mainfrom
HastD:build-efficiency
Oct 14, 2025
Merged

perf: free build space and install deps faster#74
RoyalOughtness merged 3 commits intosecureblue:mainfrom
HastD:build-efficiency

Conversation

@HastD
Copy link
Copy Markdown
Collaborator

@HastD HastD commented Oct 14, 2025

Apply similar build efficiency steps used in the secureblue repo to make installing dependencies faster and free build space more quickly. We do have to do the more time-consuming "free build space" steps, but we can do them more efficiently than the (apparently unmaintained) jlumbroso/free-disk-space action.

Also apply some shell script best practices, such as double-quoting variables where shell splitting isn't intended, using shell built-ins instead of calling basename, and using --sandbox for sed invocations with a variable expansion in the script.

HastD added 2 commits October 14, 2025 14:56
Apply the same build efficiencies used in the secureblue repo to make
installing dependencies faster and free a smaller but still sufficient
amount of build space more quickly.

Also apply some shell script best practices, such as double-quoting
variables where shell splitting isn't intended, using shell built-ins
instead of calling `basename`, and using `--sandbox` for sed invocations
with a variable expansion in the script.

Signed-off-by: Daniel Hast <[email protected]>
The fast disk space freeing steps aren't enough, so we have to do some
slower steps--but we can do them more efficiently than the
free-disk-space action does.
@RoyalOughtness RoyalOughtness merged commit fbed901 into secureblue:main Oct 14, 2025
5 checks passed
@HastD HastD deleted the build-efficiency branch October 14, 2025 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants