diff --git a/contrib/ci/fedora.sh b/contrib/ci/fedora.sh index 37a515f27..7eb199d1b 100755 --- a/contrib/ci/fedora.sh +++ b/contrib/ci/fedora.sh @@ -16,7 +16,16 @@ if [ "$QUBES" = "true" ]; then QUBES_MACRO=(--define "qubes_packages 1") fi +# smoke test something small with no auto-deps meson setup .. \ + -Dbuild=library \ + -Dauto_features=disabled \ + -Dtests=false +ninja-build +rm -rf * + +# do the full-fat build +meson setup \ -Ddocs=disabled \ -Dman=true \ -Dtests=true \ diff --git a/meson.build b/meson.build index 3eb58fba6..478de3126 100644 --- a/meson.build +++ b/meson.build @@ -590,25 +590,25 @@ if build_standalone ] subdir('plugins') subdir('src') -endif -subdir('docs') + subdir('docs') -# append all the quirks into one big file and gzip it -- lzma is smaller, but needs libxmlb 0.3.3 -builtin_quirk = custom_target('builtin-quirk', - input: plugin_quirks, - output: 'builtin.quirk', - capture: true, - command: ['cat', '@INPUT@'], -) -gzip = find_program('gzip') -custom_target('builtin-quirk-gz', - input: builtin_quirk, - output: 'builtin.quirk.gz', - capture: true, - command: [gzip, '-n', '-k', '--stdout', '@INPUT@'], - install: true, - install_dir: join_paths(datadir, 'fwupd', 'quirks.d'), -) + # append all the quirks into one big file and gzip it -- lzma is smaller, but needs libxmlb 0.3.3 + builtin_quirk = custom_target('builtin-quirk', + input: plugin_quirks, + output: 'builtin.quirk', + capture: true, + command: ['cat', '@INPUT@'], + ) + gzip = find_program('gzip') + custom_target('builtin-quirk-gz', + input: builtin_quirk, + output: 'builtin.quirk.gz', + capture: true, + command: [gzip, '-n', '-k', '--stdout', '@INPUT@'], + install: true, + install_dir: join_paths(datadir, 'fwupd', 'quirks.d'), + ) +endif if build_daemon and libsystemd.found() and offline.allowed() install_symlink('fwupd-offline-update.service',