-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speed up build by tuning apt and dpkg #189
Conversation
Signed-off-by: Y. Meyer-Norwood <106889957+norwd@users.noreply.github.com>
Wow, that is very impressive! PS: In the hpmor-de repo, I experimented with caching of apt package installations, that might also be interesting for you. Unfortunately, the LaTeX packages gave me headache, and I did not solve it for them. (and hence, not brought it here). Maybe you can solve these issues. |
I like the speedups, but I don't like the maintenance burden, or lack of debuggability. I would be happy with this sort of tweak if it was itself a GitHub action, so it can be improved and fixed independent of this project, and easily disabled for debugging. |
Great, so can we use this action instead of patching our own actions? |
yes, see: |
I normally am a stickler for adding the
I've also elected to not go the caching route for precisely that reason... if you ever do solve them please let me know! |
So just to be clear, I'd prefer a version of this PR that uses @abbbi's GitHub Action. |
No worries, I'll update the PR shortly 👍 |
Co-Authored-By: Michael Ablassmeier <abi@grinser.de>
Thanks! I still think that placing a name with a description of what it does to this step would make it easier to understand for others. |
@entorb, 🤦 yup I should have added that earlier. Done now |
Merged and tested: about 30s faster in the apt install step. |
I've adapted the recommendations of @abbbi's
speedup.sh
script to significantly reduce the run time of the variousapt-get install
steps inscripts/install_requirements.sh
.Compare a run without this change to one with this setup, note that the additional changes here all run in under a second:
This is a reduction of about 3-4 minutes, which I find very helpful in my infinite (im)patience 😂