#!/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 ) # https://src.fedoraproject.org/cgit/rpms/mate-icon-theme.git requires+=( gcc git icon-naming-utils ImageMagick inkscape make mate-common redhat-rpm-config ) infobegin "Update system" dnf update -y infoend infobegin "Install dependency packages" dnf install -y ${requires[@]} infoend