fwupd/contrib/ci/build_debian_s390x.sh
Mario Limonciello eb737f15f5 fix CI builds with -Werror
Switching to build in -werror in 4016c839a8
was not working properly.  Adjust the CI builds to use --werror instead.

Also while doing this, enable -werror in clang builds.
2017-11-30 16:42:26 -06:00

23 lines
365 B
Bash
Executable File

#!/bin/sh
set -e
set -x
export LC_ALL=C.UTF-8
rm -rf build
mkdir -p build
cp contrib/ci/s390x_cross.txt build/
cd build
meson .. \
--cross-file s390x_cross.txt \
--werror \
-Dplugin_uefi=false \
-Dplugin_uefi_labels=false \
-Dplugin_dell=false \
-Dplugin_synaptics=false \
-Dintrospection=false \
-Dgtkdoc=false \
-Dman=false
ninja -v
ninja test -v
cd ..