The runner rewrites Gitea URLs to SSH on port 2222, and without openssh git falls back to the 'simple' SSH variant, which cannot set a port, so checkout failed. Claude-Session: https://claude.ai/code/session_012LCTmU2ewo8tnM1dByYAoG
30 lines
819 B
YAML
30 lines
819 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 openssh 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
|