diff options
Diffstat (limited to '.github/workflows/fedora.sh')
| -rwxr-xr-x | .github/workflows/fedora.sh | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.github/workflows/fedora.sh b/.github/workflows/fedora.sh new file mode 100755 index 0000000..1c37d5a --- /dev/null +++ b/.github/workflows/fedora.sh @@ -0,0 +1,36 @@ +#!/usr/bin/bash + +set -eo pipefail + +# 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 + python3-gobject-devel + python3-devel + redhat-rpm-config +) + +infobegin "Update system" +dnf update -y +infoend + +infobegin "Install dependency packages" +dnf install -y ${requires[@]} +infoend |
