mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 08:04:30 +00:00
.github: add FreeBSD build
Add building the Xserver in a FreeBSD 14.3 VM. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
a1bafe0a06
commit
dc4ea884b3
28
.github/scripts/freebsd/install-pkg.sh
vendored
Executable file
28
.github/scripts/freebsd/install-pkg.sh
vendored
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
echo "--> install extra dependencies"
|
||||
pkg install -y \
|
||||
curl \
|
||||
git \
|
||||
libdrm \
|
||||
libepoll-shim \
|
||||
libX11 \
|
||||
libxkbfile \
|
||||
libxshmfence \
|
||||
libXfont2 \
|
||||
libxcvt \
|
||||
libglvnd \
|
||||
libepoxy \
|
||||
mesa-dri \
|
||||
mesa-libs \
|
||||
meson \
|
||||
pixman \
|
||||
pkgconf \
|
||||
xcb-util-image \
|
||||
xcb-util-keysyms \
|
||||
xcb-util-renderutil \
|
||||
xcb-util-wm \
|
||||
xkbcomp \
|
||||
xorgproto
|
||||
18
.github/scripts/freebsd/run-xserver-build.sh
vendored
Executable file
18
.github/scripts/freebsd/run-xserver-build.sh
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
./.github/scripts/freebsd/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
|
||||
Reference in New Issue
Block a user