mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 05:54:08 +00:00
.github: Added DragonFlyBSD to CI.
Added DragonFlyBSD to CI, based on the FreeBSD build. Signed-off-by: b-aaz <b-aazbsd@proton.me>
This commit is contained in:
28
.github/scripts/DragonFlyBSD/install-pkg.sh
vendored
Executable file
28
.github/scripts/DragonFlyBSD/install-pkg.sh
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
echo "--> install extra dependencies"
|
||||
pkg install -y \
|
||||
curl \
|
||||
libdrm \
|
||||
libepoll-shim \
|
||||
libX11 \
|
||||
libxkbfile \
|
||||
libxshmfence \
|
||||
libXfont2 \
|
||||
libxcvt \
|
||||
libglvnd \
|
||||
libepoxy \
|
||||
libudev-devd \
|
||||
mesa-dri \
|
||||
mesa-libs \
|
||||
meson \
|
||||
pixman \
|
||||
pkgconf \
|
||||
xcb-util-image \
|
||||
xcb-util-keysyms \
|
||||
xcb-util-renderutil \
|
||||
xcb-util-wm \
|
||||
xkbcomp \
|
||||
xorgproto
|
||||
18
.github/scripts/DragonFlyBSD/run-xserver-build.sh
vendored
Executable file
18
.github/scripts/DragonFlyBSD/run-xserver-build.sh
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
./.github/scripts/DragonFlyBSD/install-pkg.sh
|
||||
|
||||
echo "--> running xserver build ...."
|
||||
export MESON_BUILDDIR=_build
|
||||
|
||||
rm -rf "$MESON_BUILDDIR"
|
||||
meson setup "$MESON_BUILDDIR" $MESON_ARGS
|
||||
meson configure "$MESON_BUILDDIR"
|
||||
meson compile -v -C "$MESON_BUILDDIR" $jobcount $ninja_args
|
||||
# tests not working yet
|
||||
# meson test -C "$MESON_BUILDDIR" --print-errorlogs $MESON_TEST_ARGS
|
||||
meson install --no-rebuild -C "$MESON_BUILDDIR" $MESON_INSTALL_ARGS
|
||||
# making trouble w/ git tree copied into the VM
|
||||
# meson dist -C "$MESON_BUILDDIR" $MESON_DIST_ARGS
|
||||
15
.github/workflows/build-xserver.yml
vendored
15
.github/workflows/build-xserver.yml
vendored
@@ -247,6 +247,20 @@ jobs:
|
||||
usesh: true
|
||||
release: "14.3"
|
||||
run: ./.github/scripts/freebsd/run-xserver-build.sh
|
||||
xserver-build-dragonflybsd:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
MESON_ARGS: -Dxephyr=true -Dxorg=true -Dxvfb=true -Dxnest=true
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: run in DragonFlyBSD VM
|
||||
id: xserver-build
|
||||
uses: vmactions/dragonflybsd-vm@v1
|
||||
with:
|
||||
envs: 'MESON_ARGS'
|
||||
usesh: true
|
||||
release: "6.4.2"
|
||||
run: ./.github/scripts/DragonFlyBSD/run-xserver-build.sh
|
||||
|
||||
release:
|
||||
name: Release pushed tag
|
||||
@@ -258,6 +272,7 @@ jobs:
|
||||
- xserver-build-mingw32-ubuntu
|
||||
- xserver-build-macos
|
||||
- xserver-build-freebsd
|
||||
- xserver-build-dragonflybsd
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
Reference in New Issue
Block a user