diff options
author | David Robillard <d@drobilla.net> | 2022-06-27 12:59:35 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-07-10 13:39:53 -0400 |
commit | f6c961b25c5a10053022745cfbcc2d5c7947692c (patch) | |
tree | 11125c9a164e435c2c0a19f5da5c2121bf9a58a2 | |
parent | 5e78edf6e09373938a796cf44fb38d2309d04b4d (diff) | |
download | serd-f6c961b25c5a10053022745cfbcc2d5c7947692c.tar.gz serd-f6c961b25c5a10053022745cfbcc2d5c7947692c.tar.bz2 serd-f6c961b25c5a10053022745cfbcc2d5c7947692c.zip |
Add FreeBSD row to CI
-rw-r--r-- | .gitlab-ci.yml | 15 | ||||
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | meson/suppressions/meson.build | 6 |
3 files changed, 23 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 764055b4..64098849 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -80,6 +80,21 @@ x64_sanitize: LDFLAGS: "-fno-sanitize-recover=all -fsanitize=address -fsanitize=undefined -fsanitize=float-divide-by-zero -fsanitize=unsigned-integer-overflow -fsanitize=implicit-conversion -fsanitize=local-bounds -fsanitize=nullability" +freebsd_dbg: + <<: *build_definition + tags: [freebsd,meson] + script: + - meson setup build -Dbuildtype=debug -Dstrict=true -Dwerror=true + - ninja -C build test + +freebsd_rel: + <<: *build_definition + tags: [freebsd,meson] + script: + - meson setup build -Dbuildtype=release -Dstrict=true -Dwerror=true + - ninja -C build test + + mingw32_dbg: <<: *build_definition image: lv2plugin/debian-mingw32 @@ -15,8 +15,8 @@ Features [ISC license][]. * **Portable and Dependency-Free:** Serd has no external dependencies other - than the C standard library. It is known to compile with GCC, Clang, and - MSVC (as C++), and is tested on GNU/Linux, MacOS, and Windows. + than the C standard library. It is known to compile with Clang, GCC, and + MSVC, and is tested on GNU/Linux, FreeBSD, MacOS, and Windows. * **Small:** Serd is implemented in a few thousand lines of C. When optimized, it compiles to well under 100 KiB. diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index a7aabecf..ed7ec57b 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -29,6 +29,12 @@ if is_variable('cc') '-Wno-sign-conversion', ] + if host_machine.system() == 'freebsd' + c_suppressions += [ + '-Wno-c11-extensions', + ] + endif + elif cc.get_id() == 'gcc' c_suppressions += [ '-Wno-cast-align', |