aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml15
-rw-r--r--README.md4
-rw-r--r--meson/suppressions/meson.build6
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
diff --git a/README.md b/README.md
index cae1c9f6..8a21cbca 100644
--- a/README.md
+++ b/README.md
@@ -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',