ci: add coverage for builds without sd-boot (#35016)
This should catch compilation issues such as: https://github.com/systemd/systemd/pull/35014
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
|
||||
set -ex
|
||||
|
||||
shopt -s nullglob
|
||||
|
||||
info() { echo -e "\033[33;1m$1\033[0m"; }
|
||||
fatal() { echo >&2 -e "\033[31;1m$1\033[0m"; exit 1; }
|
||||
success() { echo >&2 -e "\033[32;1m$1\033[0m"; }
|
||||
@@ -12,7 +14,7 @@ ARGS=(
|
||||
"--optimization=s -Dutmp=false"
|
||||
"--optimization=2 -Dc_args=-Wmaybe-uninitialized -Ddns-over-tls=openssl"
|
||||
"--optimization=3 -Db_lto=true -Ddns-over-tls=false"
|
||||
"--optimization=3 -Db_lto=false -Dtpm2=disabled -Dlibfido2=disabled -Dp11kit=disabled"
|
||||
"--optimization=3 -Db_lto=false -Dtpm2=disabled -Dlibfido2=disabled -Dp11kit=disabled -Defi=false -Dbootloader=disabled"
|
||||
"--optimization=3 -Dfexecve=true -Dstandalone-binaries=true -Dstatic-libsystemd=true -Dstatic-libudev=true"
|
||||
"-Db_ndebug=true"
|
||||
)
|
||||
|
||||
@@ -623,7 +623,7 @@ def test_efi_signing_pesign(kernel_initrd, tmp_path):
|
||||
|
||||
ukify.make_uki(opts)
|
||||
|
||||
# let's check that sbverify likes the resulting file
|
||||
# let's check that pesign likes the resulting file
|
||||
dump = subprocess.check_output([
|
||||
'pesign', '-S',
|
||||
'-i', output,
|
||||
|
||||
Reference in New Issue
Block a user