aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-23 09:07:02 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-23 09:18:33 +0000
commit207fdaf06c0ae2efc4f751a16e7c5b33054f76ec (patch)
tree78f118bc2494c1775f11262c03215ab87d5405b1
parentshm: don’t check for __i386__ and __x86_64__ - there are other architectures out there (diff)
ci: freebsd-x64: compile with -Wno-missing-braces
The freebsd/latest image is still FreeBSD-12, with clang-8. It generate false positive warnings: ../../foot/search.c:357:21: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] mbstate_t ps = {0};
-rw-r--r--.builds/freebsd-x64.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.builds/freebsd-x64.yml b/.builds/freebsd-x64.yml
index 8481c67f..db6b8432 100644
--- a/.builds/freebsd-x64.yml
+++ b/.builds/freebsd-x64.yml
@@ -27,6 +27,8 @@ sources:
# condition: failure
# to: <committer>
+# TODO: drop -Dc_args=-Wno-missing-braces when freebsd/latest is >= 13
+
tasks:
- subprojects: |
mkdir foot/subprojects
@@ -34,11 +36,11 @@ tasks:
ln -s ../../fcft foot/subprojects/fcft
- debug: |
mkdir -p bld/debug
- meson --buildtype=debug -Dterminfo=false -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/debug
+ meson --buildtype=debug -Dc_args=-Wno-missing-braces -Dterminfo=false -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/debug
ninja -C bld/debug -k0
meson test -C bld/debug --print-errorlogs
- release: |
mkdir -p bld/release
- meson --buildtype=minsize -Dterminfo=false -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/release
+ meson --buildtype=minsize -Dc_args=-Wno-missing-braces -Dterminfo=false -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/release
ninja -C bld/release -k0
meson test -C bld/release --print-errorlogs