mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-03 16:44:26 +00:00

tristate features will automatically disable if dependencies marked as required are missing. Packagers can manually override using `auto_features`. Link: https://mesonbuild.com/Build-options.html#features
22 lines
404 B
Bash
Executable File
22 lines
404 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
set -x
|
|
|
|
#install dependencies
|
|
xbps-install -Suy python3
|
|
./contrib/ci/fwupd_setup_helpers.py install-dependencies --yes -o void
|
|
|
|
#clone test firmware if necessary
|
|
. ./contrib/ci/get_test_firmware.sh
|
|
|
|
#build
|
|
rm -rf build
|
|
meson build \
|
|
-Dgusb:tests=false \
|
|
-Dgcab:docs=false \
|
|
-Dconsolekit=disabled \
|
|
-Dsystemd=disabled \
|
|
-Doffline=disabled \
|
|
-Delogind=enabled
|
|
ninja -C build test -v
|