fwupd/contrib/ci/out-of-tree-link/meson.build
Mario Limonciello b543446fda Add a CI test to make sure we can always link to fwupdplugin
Based on a patch from Simon McVittie on
https://salsa.debian.org/efi-team/fwupd/-/merge_requests/4

Suggested-by: Simon McVittie <smcv@debian.org>
2021-01-22 14:01:25 -06:00

28 lines
488 B
Meson

project('out-of-tree-link', 'c',
license : 'LGPL-2.1+',
)
fwupd = dependency('fwupd')
fwupdplugin = dependency('fwupdplugin')
env = environment()
env.set('G_DEBUG', 'fatal-criticals')
e = executable(
'fwupd',
sources : [
'fwupd.c'
],
dependencies : [
fwupd
],
)
test('fwupd', e, timeout: 60, env: env)
e = executable(
'fwupdplugin',
sources : [
'fwupdplugin.c'
],
dependencies : [
fwupdplugin
],
)
test('fwupdplugin', e, timeout: 60, env: env)