mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-22 10:51:01 +00:00

Move binaries out of fwupd tree to https://github.com/fwupd/fwupd-test-firmware Fixes some of https://github.com/fwupd/fwupd/issues/1956
29 lines
494 B
Bash
Executable File
29 lines
494 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
set -x
|
|
|
|
#clone test firmware
|
|
if [ "$CI_NETWORK" = "true" ]; then
|
|
./contrib/ci/get_test_firmware.sh
|
|
export G_TEST_SRCDIR=`pwd`/fwupd-test-firmware/installed-tests
|
|
fi
|
|
|
|
#build
|
|
rm -rf build
|
|
mkdir -p build
|
|
cd build
|
|
meson .. \
|
|
--werror \
|
|
-Dplugin_uefi=false \
|
|
-Dplugin_dell=false \
|
|
-Dplugin_modem_manager=false \
|
|
-Dplugin_synaptics=true \
|
|
-Dplugin_flashrom=true \
|
|
-Dintrospection=true \
|
|
-Dgtkdoc=true \
|
|
-Dpkcs7=false \
|
|
-Dman=true
|
|
ninja-build -v
|
|
ninja-build test -v
|
|
cd ..
|