summaryrefslogtreecommitdiff
path: root/.github/workflows/archlinux.sh
diff options
context:
space:
mode:
authormbkma <[email protected]>2026-01-27 23:12:48 +0100
committermbkma <[email protected]>2026-03-12 00:29:33 +0100
commit19e0d5aaa47e49e9b102e9cb28612c5a5e5ad8b5 (patch)
tree04a86d7402a33a19a128b19427c5117fad557cb9 /.github/workflows/archlinux.sh
parent60fe32e380eab16adbbc2099a1f57f961c520e0a (diff)
downloadmate-menus-19e0d5aaa47e49e9b102e9cb28612c5a5e5ad8b5.tar.bz2
mate-menus-19e0d5aaa47e49e9b102e9cb28612c5a5e5ad8b5.tar.xz
ci: migrate from Travis CI to GitHub Actions
Replace Travis CI configuration with GitHub Actions workflows. Add CI build workflow for Debian, Fedora, Ubuntu, and Archlinux. Add release workflow for automated GitHub releases on tags. Add dependabot configuration for GHA pin updates. Remove obsolete .travis.yml. remove .build.yml
Diffstat (limited to '.github/workflows/archlinux.sh')
-rwxr-xr-x.github/workflows/archlinux.sh38
1 files changed, 38 insertions, 0 deletions
diff --git a/.github/workflows/archlinux.sh b/.github/workflows/archlinux.sh
new file mode 100755
index 0000000..3d2afcf
--- /dev/null
+++ b/.github/workflows/archlinux.sh
@@ -0,0 +1,38 @@
+#!/usr/bin/bash
+
+# Use grouped output messages
+infobegin() {
+ echo "::group::${1}"
+}
+infoend() {
+ echo "::endgroup::"
+}
+
+# Required packages on Archlinux
+requires=(
+ ccache # Use ccache to speed up build
+ clang # Build with clang on Archlinux
+ meson # Used for meson build
+)
+
+# https://gitlab.archlinux.org/archlinux/packaging/packages/mate-menus
+requires+=(
+ autoconf-archive
+ gcc
+ git
+ glib2
+ gobject-introspection
+ gsettings-desktop-schemas
+ make
+ mate-common
+ mate-panel
+ which
+)
+
+infobegin "Update system"
+pacman --noconfirm -Syu
+infoend
+
+infobegin "Install dependency packages"
+pacman --noconfirm -S ${requires[@]}
+infoend