1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 00:23:32 +02:00

GH Actions: ccache on macOS & Linux; sccache on Windows

Signed-off-by: Be <be@mixxx.org>
This commit is contained in:
Be
2021-07-08 20:54:35 -05:00
parent 9c4fecd913
commit e2864f5efc
2 changed files with 27 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ elif [[ "${OSTYPE}" == darwin* ]]; then # macOS
brew_packages=(
bash # macOS ships with Bash v3 for licensing reasons so upgrade it now
conan
ccache
)
brew install "${brew_packages[@]}"
@@ -41,10 +42,10 @@ else # Linux & others
libgtk2.0-dev
gettext
python3-pip
ccache
)
sudo apt-get update -y
sudo apt-get install -y --no-install-recommends "${apt_packages[@]}"
sudo apt-get remove -y ccache
else
echo >&2 "$0: Error: You don't have a recognized package manager installed."
exit 1