diff options
| author | mbkma <[email protected]> | 2026-03-12 00:28:16 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-03-12 00:28:16 +0100 |
| commit | 3146dfa2b6e7b7f1d1e24ed2a62e2bb01aef337d (patch) | |
| tree | 2ad341d0bff673cbd039814749e79fa353f06ab7 /.github/workflows/archlinux.sh | |
| parent | b70d97e762a165828402307bca87221fdfa26d51 (diff) | |
| download | mate-utils-3146dfa2b6e7b7f1d1e24ed2a62e2bb01aef337d.tar.bz2 mate-utils-3146dfa2b6e7b7f1d1e24ed2a62e2bb01aef337d.tar.xz | |
ci: migrate from Travis CI to GitHub Actions (#373)
* 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.
* ci: add missing PKGBUILD depends to archlinux CI script
* remove .build.yml
* ci: remove redundant GH CLI installation step
* ci: add set -eo pipefail to workflow scripts
* build: add AC_CONFIG_MACRO_DIRS([m4]) for gettext m4 macros
* ci: add missing pkgs
* ci: build mate-desktop from source
* ci: disable pt language for help in search tool in Fedora build
---------
Co-authored-by: Victor Kareh <[email protected]>
Diffstat (limited to '.github/workflows/archlinux.sh')
| -rwxr-xr-x | .github/workflows/archlinux.sh | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/.github/workflows/archlinux.sh b/.github/workflows/archlinux.sh new file mode 100755 index 00000000..ac20758a --- /dev/null +++ b/.github/workflows/archlinux.sh @@ -0,0 +1,49 @@ +#!/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 +) + +# https://gitlab.archlinux.org/archlinux/packaging/packages/mate-utils +requires+=( + autoconf-archive + gcc + gettext + git + glib2-devel + inkscape + intltool + itstool + libcanberra + libgtop + libsm + libxml2 + make + mate-common + mate-desktop + mate-panel + python + udisks2 + which + yelp-tools +) + +infobegin "Update system" +pacman --noconfirm -Syu +infoend + +infobegin "Install dependency packages" +pacman --noconfirm -S ${requires[@]} +infoend |
