08467b4d7d
The next commit will remove -Werror from the default autotools and meson builds, but we would like to continue treating warnings as errors in CI.
15 lines
389 B
Bash
15 lines
389 B
Bash
#!/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
|
|
# dependencies.
|
|
meson build -Dwerror=true --unity=on --auto-features=enabled $CONFIGURE_OPTIONS
|
|
ninja -C build
|
|
|
|
xvfb-run --auto-servernum ninja -C build test
|