diff options
Diffstat (limited to '.github/workflows/fedora.sh')
| -rwxr-xr-x | .github/workflows/fedora.sh | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/fedora.sh b/.github/workflows/fedora.sh new file mode 100755 index 0000000..edcc9af --- /dev/null +++ b/.github/workflows/fedora.sh @@ -0,0 +1,34 @@ +#!/usr/bin/bash + +# Use grouped output messages +infobegin() { + echo "::group::${1}" +} +infoend() { + echo "::endgroup::" +} + +# Required packages on Fedora +requires=( + ccache # Use ccache to speed up build +) + +requires+=( + autoconf-archive + caja-devel + gcc + git + make + mate-common + pygobject3-devel + python3-devel + redhat-rpm-config +) + +infobegin "Update system" +dnf update -y +infoend + +infobegin "Install dependency packages" +dnf install -y ${requires[@]} +infoend |
