summaryrefslogtreecommitdiff
path: root/.github/workflows/fedora.sh
diff options
context:
space:
mode:
authormbkma <[email protected]>2026-01-28 09:00:32 +0100
committerVictor Kareh <[email protected]>2026-02-11 07:01:54 -0500
commit413926a5aa9af7e3d21677e9aadd82482fef7a23 (patch)
tree8c0cb30cf91bbeef25dc5d9cca6ba2b9229813b6 /.github/workflows/fedora.sh
parent5660b20ee1a62bc7bf1360686150d7cac8f2e791 (diff)
downloadmate-calc-413926a5aa9af7e3d21677e9aadd82482fef7a23.tar.bz2
mate-calc-413926a5aa9af7e3d21677e9aadd82482fef7a23.tar.xz
ci: restructure github actions to use the same structure for all repos
configure m4 dir
Diffstat (limited to '.github/workflows/fedora.sh')
-rwxr-xr-x.github/workflows/fedora.sh42
1 files changed, 42 insertions, 0 deletions
diff --git a/.github/workflows/fedora.sh b/.github/workflows/fedora.sh
new file mode 100755
index 0000000..7dd4d6b
--- /dev/null
+++ b/.github/workflows/fedora.sh
@@ -0,0 +1,42 @@
+#!/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
+ meson # Used for meson build
+)
+
+# https://src.fedoraproject.org/cgit/rpms/mate-calc.git
+requires+=(
+ autoconf-archive
+ bison
+ desktop-file-utils
+ flex
+ gcc
+ git
+ gmp-devel
+ gtk3-devel
+ libmpc-devel
+ libxml2-devel
+ make
+ mate-common
+ mate-desktop-devel
+ mpfr-devel
+ redhat-rpm-config
+)
+
+infobegin "Update system"
+dnf update -y
+infoend
+
+infobegin "Install dependency packages"
+dnf install -y ${requires[@]}
+infoend