CI: build Monado with the glasses' driver on our spindle
Builds in cont8nuum's CI image, against cont8nuum's driver and IMU sources fetched from the knot.
1234567891011121314151617181920#!/bin/sh# CI: Monado as cont8nuum's xr/build.sh builds it, with the c8_glasses# driver, whose source is cont8nuum's (xr/driver, compositor/src/imu.c):# cloned from the knot at main. Runs in cont8nuum's CI image, which has# every package (its .tangled/image/Containerfile).set -eugit clone -q https://knot.lowtide.sbs/lowtide.sbs/cont8nuum /tmp/cont8nuumc8=/tmp/cont8nuumcmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DC8_GLASSES_DIR=$c8/xr/driver -DC8_SRC_DIR=$c8/compositor/src \ -DXRT_FEATURE_SERVICE=ON -DXRT_BUILD_SAMPLES=OFFgrep -q '^XRT_HAVE_OPENGLES:BOOL=ON' build/CMakeCache.txt || { echo "no OpenGL ES 3 headers: c8's overlay couldn't join this Monado" >&2 exit 1}ninja -C buildtest -f build/src/xrt/drivers/libdrv_c8_glasses.a || { echo "the c8_glasses driver wasn't built" >&2 exit 1}123456789101112131415# Builds the fork with cont8nuum's glasses driver on our spindle# (spindle.lowtide.sbs: tack on Laminar, a rootless Podman container), in# cont8nuum's CI image (Ubuntu 26.04 LTS; its .tangled/image).when: - event: ["push", "manual"] branch: ["c8-xreal-one-pro-plus"]
engine: tack
tack: laminar: job: monado params: IMAGE: localhost/c8-ci:ubuntu-26.04 COMMAND: ./.tangled/build.sh