summaryrefslogtreecommitdiff
path: root/.github/workflows/archlinux.sh
diff options
context:
space:
mode:
authormbkma <[email protected]>2026-03-12 18:17:20 +0100
committerGitHub <[email protected]>2026-03-12 17:17:20 +0000
commit8a0c5df52081a00eeb8e08de0963fa65b8187602 (patch)
tree2ccaa298b93a444285f9b017c3a8e7c38cdbf8b8 /.github/workflows/archlinux.sh
parent99c7f79ded93e50f6449fba599e3b212ce7e3abb (diff)
downloadlibmatekbd-8a0c5df52081a00eeb8e08de0963fa65b8187602.tar.bz2
libmatekbd-8a0c5df52081a00eeb8e08de0963fa65b8187602.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.
Diffstat (limited to '.github/workflows/archlinux.sh')
-rwxr-xr-x.github/workflows/archlinux.sh46
1 files changed, 46 insertions, 0 deletions
diff --git a/.github/workflows/archlinux.sh b/.github/workflows/archlinux.sh
new file mode 100755
index 0000000..bf49478
--- /dev/null
+++ b/.github/workflows/archlinux.sh
@@ -0,0 +1,46 @@
+#!/usr/bin/bash
+
+set -eo pipefail
+
+# 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/libmatekbd
+requires+=(
+ cairo
+ dconf
+ gcc
+ gdk-pixbuf2
+ git
+ glib2
+ glib2-devel
+ glibc
+ gobject-introspection
+ gtk3
+ libx11
+ libxklavier
+ make
+ mate-common
+ pango
+ which
+)
+
+infobegin "Update system"
+pacman --noconfirm -Syu
+infoend
+
+infobegin "Install dependency packages"
+pacman --noconfirm -S ${requires[@]}
+infoend