Files
gtk-ahfail/.gitea/workflows/test.yml
T
Asger Geel Weirsøe 1156c1f927 Run CI and releases in an Arch container
The locker needs gtk-session-lock, which Ubuntu does not package, and
Arch is where the AUR package is built. The release tarball now carries
the ahfail binary and its PAM file as well.

Claude-Session: https://claude.ai/code/session_012LCTmU2ewo8tnM1dByYAoG
2026-09-30 19:19:09 +02:00

30 lines
811 B
YAML

name: Test
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
# Arch, because the locker needs gtk-session-lock, which Ubuntu does not
# package; it is also the platform the AUR package is built on.
container:
image: archlinux:base-devel
steps:
- name: Install system dependencies
run: pacman -Syu --noconfirm --needed base-devel git nodejs rust meson ninja gtk3 gtk-session-lock gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad-libs pam xorg-server-xvfb
- uses: actions/checkout@v4
- name: Run Rust tests
run: xvfb-run cargo test
- name: Meson build
run: |
meson setup builddir
meson compile -C builddir
- name: Meson tests
run: xvfb-run meson test -C builddir --verbose