libglvnd/.gitlab-ci/run_meson.sh

15 lines
389 B
Bash
Raw Normal View History

2019-11-14 23:26:24 +01:00
#!/bin/bash
set -e
set -o xtrace
# Running a unity build (sometimes called a jumbo build) is both a useful thing
# to test and reduces compile time.
#
# Enable all auto-features to ensure that we're properly testing all optional
2019-11-14 23:26:24 +01:00
# dependencies.
meson build -Dwerror=true --unity=on --auto-features=enabled $CONFIGURE_OPTIONS
2019-11-14 23:26:24 +01:00
ninja -C build
xvfb-run --auto-servernum ninja -C build test