]> git.ipfire.org Git - thirdparty/squid.git/commit
CI: Add ccache to GitHub Actions build tests (#1935)
authorFrancesco Chemolli <5175948+kinkie@users.noreply.github.com>
Tue, 5 Nov 2024 22:21:26 +0000 (22:21 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Tue, 5 Nov 2024 22:21:37 +0000 (22:21 +0000)
commit627cca6dc8d0edb74ba3b42b1dcf45b170ddd1f1
treefdc00df2c532bbf5016a5b7586f8e4d956cc852e
parent884dcf431f18f96fe0078ac08aba6bac032a5d6b
CI: Add ccache to GitHub Actions build tests (#1935)

Depending on an individual build test, adding ccache currently reduces
build test time 35-60% (e.g., from 6m42s to 4m18s and from 17m to 7m).

Problematic ccache entries can be removed using GitHub API. For example:

    gh -R squid-cache/squid cache list
    gh -R squid-cache/squid cache delete <cache-key|"all">

Do not add ccache to MacOS build tests because I had mixed experience
with that optimization on that OS.
.github/workflows/quick.yaml
.github/workflows/slow.yaml