.github: add Solaris/Illumos build
Some checks failed
Build X servers / ubuntu-fetch-pkg (push) Has been cancelled
Build X servers / xserver-build-ubuntu-no-gbm (push) Has been cancelled
Build X servers / xserver-build-ubuntu (push) Has been cancelled
Build X servers / abi-changes-check (push) Has been cancelled
Build X servers / xserver-build-ubuntu-debug (push) Has been cancelled
Build X servers / drivers-prepare-ubuntu (push) Has been cancelled
Build X servers / drivers-build-ubuntu (input-elographics:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (input-evdev:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (input-joystick:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (input-keyboard:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (input-libinput:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (input-mouse:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (input-synaptics:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (input-vmmouse:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (input-void:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (input-wacom:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-amdgpu:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-apm:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-ark:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-ast:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-ati:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-chips:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-cirrus:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-dummy:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-fbdev:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-freedreno:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-geode:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-i128:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-i740:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-intel:25.0.1) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-mach64:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-mga:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-neomagic:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-nested:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-nouveau:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-nv:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-omap:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-qxl:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-r128:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-rendition:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-s3virge:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-savage:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-siliconmotion:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sis:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sisusb:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suncg14:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suncg3:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suncg6:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sunffb:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sunleo:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suntcx:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-tdfx:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-trident:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-v4l:25.0.1) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-vbox:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-vesa:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-vmware:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-voodoo:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-xgi:25.0.0) (push) Has been cancelled
Build X servers / xserver-build-mingw32-ubuntu (push) Has been cancelled
Build X servers / xserver-build-macos (push) Has been cancelled
Build X servers / xserver-build-freebsd (push) Has been cancelled
Build X servers / xserver-build-dragonflybsd (push) Has been cancelled
Build X servers / xserver-build-netbsd (push) Has been cancelled
Build X servers / xserver-build-solaris (push) Has been cancelled
Build X servers / xserver-build-alpine (push) Has been cancelled
Build X servers / xserver-build-cygwin (push) Has been cancelled
Build X servers / xserver-build-arch (push) Has been cancelled
Build X servers / Check Signed-Off-By (push) Has been cancelled
Build X servers / Release pushed tag (push) Has been cancelled
check PRs for merge conflicts / notify (push) Has been cancelled

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult 2026-06-24 16:52:22 +02:00 • committed by Enrico Weigelt
commit 1e824a563e
3 changed files with 126 additions and 0 deletions

68
.github/scripts/solaris/install-pkg.sh vendored Executable file
View file

@ -0,0 +1,68 @@
#!/bin/sh
#
# Install xserver build dependencies on OpenIndiana (illumos), via IPS (`pkg`).
#
# OpenIndiana (unlike server-only OmniOS) is a desktop-capable illumos distro
# and packages the full X stack — every X library, the protocol headers, Mesa
# and the xcb-util family — under the single `openindiana.org` publisher in the
# standard /usr layout. So everything is installable; nothing has to be built
# from source here, and GLX can stay enabled (Mesa is packaged).
#
# FMRIs verified against the OpenIndiana Hipster catalog.
#
set -ex
PATH="/usr/bin:/usr/sbin:/sbin:$PATH"
export PATH
pkg refresh || true
# Build toolchain — MUST succeed. `pkg install` is transactional, so a single
# unknown/ambiguous FMRI aborts the whole set; keeping this its own step
# *without* `|| true` makes a bad FMRI fail loudly (and named) instead of
# silently leaving us without a compiler/meson.
pkg install -v --accept \
developer/gcc-14 \
developer/build/meson \
developer/build/ninja \
developer/build/pkg-config
# Runtime + X libraries the server links against. Best-effort, one at a time, so
# a single missing/misnamed FMRI only skips that package (and is named in the
# log) rather than aborting the batch; meson will flag anything genuinely
# required and absent.
for pkg_fmri in \
runtime/python-313 \
library/zlib \
library/graphics/pixman \
system/library/freetype-2 \
x11/header/x11-protocols \
x11/header/xcb-protocols \
x11/font-util \
x11/library/libxau \
x11/library/libxcb \
x11/library/libxdmcp \
x11/library/libxext \
x11/library/libxfixes \
x11/library/libxrender \
x11/library/libxt \
x11/library/libx11 \
x11/library/xtrans \
x11/library/libxkbfile \
x11/library/libxfont2 \
x11/library/libfontenc \
x11/library/libxcvt \
x11/library/libxshmfence \
x11/library/libepoxy \
x11/library/xcb-util \
x11/library/xcb-util-wm \
x11/library/mesa
do
# rc 0 = installed, rc 4 = already present / nothing to do — both fine.
rc=0
pkg install -v --accept "$pkg_fmri" || rc=$?
if [ "$rc" -ne 0 ] && [ "$rc" -ne 4 ]; then
echo "WARN: 'pkg install $pkg_fmri' failed (rc=$rc) — continuing (meson will flag it if required)"
fi
done

32
.github/scripts/solaris/run-xserver-build.sh vendored Executable file
View file

@ -0,0 +1,32 @@
#!/bin/sh
#
# Build the X server inside an OpenIndiana (illumos) VM. Mirrors the BSD
# run-xserver-build.sh scripts: install deps, then meson setup/compile/install.
#
set -e
./.github/scripts/solaris/install-pkg.sh
echo "--> running xserver build ...."
PATH="/usr/bin:/usr/sbin:/sbin:$PATH"
export PATH
# OpenIndiana installs into the standard /usr layout; build 64-bit (the illumos
# gcc still defaults to 32-bit) and point pkg-config at the amd64 .pc dir plus
# the noarch share/pkgconfig (xorgproto protocol files).
CFLAGS="-m64 ${CFLAGS:-}"
LDFLAGS="-m64 ${LDFLAGS:-}"
PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig:${PKG_CONFIG_PATH:-}"
export CFLAGS LDFLAGS PKG_CONFIG_PATH
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 wired up for this platform yet
# meson test -C "$MESON_BUILDDIR" --print-errorlogs $MESON_TEST_ARGS
meson install --no-rebuild -C "$MESON_BUILDDIR" $MESON_INSTALL_ARGS

View file

@ -570,6 +570,32 @@ jobs:
release: '10.1'
run: ./.github/scripts/netbsd/run-xserver-build.sh
# illumos / Solaris build, run in an OpenIndiana VM (vmactions, same
# mechanism as the BSD jobs above). Exercises the Solaris-specific os/ code
# paths (procfs/psinfo, the sunos meson branch) that no other CI covers.
# OpenIndiana packages the full X stack incl. Mesa, so GLX stays enabled.
# werror is off for now since this platform is freshly added; tighten once
# it is green.
xserver-build-solaris:
runs-on: ubuntu-latest
needs: ubuntu-fetch-pkg
env:
# dri2/dri3 disabled: illumos has no kernel DRM/KMS, so the
# libdrm-backed direct-rendering extensions can't work (and OI's
# xf86drm.h pulls a drm.h that only exists for Linux). glx stays on
# (Mesa is packaged) for indirect/software GLX.
MESON_ARGS: -Dwerror=false -Dxvfb=true -Dxnest=true -Dxorg=false -Dxephyr=false -Dxfbdev=false -Ddri2=false -Ddri3=false
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/ubuntu-pkg-cache
- name: run in OpenIndiana (illumos) VM
id: vm
uses: vmactions/openindiana-vm@v1
with:
envs: 'MESON_ARGS'
usesh: true
run: ./.github/scripts/solaris/run-xserver-build.sh
xserver-build-alpine:
runs-on: ubuntu-latest
needs: ubuntu-fetch-pkg