mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-29 21:51:16 +00:00

By echoing the commands it is way easier to spot what the CI was doing when a command failed. Setting fail-on-error mode explicitly makes sure we always run with it, even if someone invokes the script with `bash <scriptname>`
21 lines
389 B
Bash
Executable File
21 lines
389 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
set -x
|
|
|
|
export LC_ALL=C.UTF-8
|
|
mkdir -p build && cd build
|
|
rm * -rf
|
|
meson .. \
|
|
-Denable-doc=true \
|
|
-Denable-man=true \
|
|
-Denable-tests=true \
|
|
-Denable-thunderbolt=false \
|
|
-Denable-uefi=true \
|
|
-Denable-dell=true \
|
|
-Denable-synaptics=true \
|
|
-Denable-colorhug=true $@
|
|
ninja -v || bash
|
|
ninja test -v
|
|
DESTDIR=/tmp/install-ninja ninja install
|
|
cd ..
|