Skip to content

Commit

Permalink
️️⚡️ BUMP ⚡️ 2 files 4(+) 6(-)
Browse files Browse the repository at this point in the history
  • Loading branch information
borestad committed Feb 15, 2024
1 parent 5910e55 commit 235e1ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/scripts/ciutil
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ download() {
chmod +x $location 2> /dev/null || true
}


# A much faster alternative to apt-get install,
# without any hooks that slows down installation
install-deb() {
local pkgs="$@"
local exitcode=0
Expand Down Expand Up @@ -61,13 +64,8 @@ preinstall-binaries() {

# Optimize apt install time (no need for mandb on a ci)
sudo cp -p /bin/true /usr/bin/mandb 2> /dev/null || true
# sudo mv -fv /var/cache/man /var/cache/man.bak 2> /dev/null || true
# sudo mv -fv /usr/share/locale /usr/share/locale.bak
# sudo mv -fv /usr/share/man /usr/share/man.bak
# sudo mv -fv /usr/share/doc /usr/share/doc.bak

# TODO: Needs some testing. But no need for hooks, since it's a shortlived CI process.
sudo rm -rf /etc/apt/apt.conf.d/*needrestart*
sudo rm -rf /etc/apt/apt.conf.d/*

cp .github/scripts/ciutil ~/.local/bin/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Goals:
- Fastest installation possible
- Multithreaded & parallellism by default
- Cache + TTL support (reusable between ci runs)
- Optimized: one shot jobs (checkout + cache + install + run) should run ~ 5
- Optimized: one shot jobs (checkout + cache + install + run) should run ~ 10
seconds.
- Rely on static binaries instead of expensive apt-get.
- Super productive & fast boilerplate environment
Expand Down

0 comments on commit 235e1ca

Please sign in to comment.