mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 07:00:30 +00:00

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.
23 lines
365 B
Bash
Executable File
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 ..
|