CI: add a FreeBSD build on Sourcehut

This commit is contained in:
Jente Hidskes 2019-04-20 19:32:00 +02:00 committed by Jente Hidskes
parent 5bfedaf84f
commit cf06e42687
3 changed files with 57 additions and 1 deletions

View file

@ -24,6 +24,17 @@ endif
cc = meson.get_compiler('c')
is_freebsd = host_machine.system().startswith('freebsd')
if is_freebsd
add_project_arguments(
[
'-Wno-format-extra-args',
'-Wno-gnu-zero-variadic-macro-arguments',
],
language: 'c'
)
endif
wlroots = dependency('wlroots', version: '>= 0.5.0')
wayland_protos = dependency('wayland-protocols', version: '>=1.14')
wayland_server = dependency('wayland-server')