1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 08:33:36 +02:00

Generate AppImage on GitHub Actions

Fixes #695. Supersedes #172. See https://appimage.org/.
This commit is contained in:
Peter Jonas
2021-06-16 15:19:48 +01:00
parent 2e0e3b4162
commit de2213ea2c
12 changed files with 542 additions and 13 deletions

View File

@@ -23,9 +23,20 @@ elif [[ "${OSTYPE}" == darwin* ]]; then # macOS
else # Linux & others
if ! which sudo; then
function sudo() { "$@"; } # no-op sudo for use in Docker images
fi
# Distribution packages
if which apt-get; then
apt_packages=(
# Docker image
file
g++
git
wget
# GitHub Actions
libasound2-dev
libgtk2.0-dev
gettext
@@ -43,6 +54,9 @@ else # Linux & others
pip_packages=(
conan
)
which cmake || pip_packages+=( cmake ) # get latest CMake when inside Docker image
pip3 install wheel setuptools # need these first to install other packages (e.g. conan)
pip3 install "${pip_packages[@]}"