diff options
Diffstat (limited to '.github/workflows/fedora.sh')
| -rwxr-xr-x | .github/workflows/fedora.sh | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/fedora.sh b/.github/workflows/fedora.sh new file mode 100755 index 0000000..79ceaf6 --- /dev/null +++ b/.github/workflows/fedora.sh @@ -0,0 +1,38 @@ +#!/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 + meson # Used for meson build +) + +# https://src.fedoraproject.org/cgit/rpms/mate-polkit.git +requires+=( + autoconf-archive + gcc + git + gtk3-devel + libappindicator-gtk3-devel + make + mate-common + polkit-devel + redhat-rpm-config +) + +infobegin "Update system" +dnf update -y +infoend + +infobegin "Install dependency packages" +dnf install -y ${requires[@]} +infoend |
