libglvnd/.gitlab-ci/run_build.sh
Matt Turner 08467b4d7d gitlab-ci: Build with -Werror
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.
2020-06-25 11:59:38 -07:00

16 lines
191 B
Bash

#!/bin/bash
set -e
set -o xtrace
./autogen.sh
mkdir build
cd build
../configure --enable-werror $CONFIGURE_OPTIONS
make V=1 VERBOSE=1
xvfb-run --auto-servernum make check V=1 VERBOSE=1