mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-05 01:40:41 -05:00
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};
This commit is contained in:
parent
1f745655ac
commit
207fdaf06c
1 changed files with 4 additions and 2 deletions
|
|
@ -27,6 +27,8 @@ sources:
|
||||||
# condition: failure
|
# condition: failure
|
||||||
# to: <committer>
|
# to: <committer>
|
||||||
|
|
||||||
|
# TODO: drop -Dc_args=-Wno-missing-braces when freebsd/latest is >= 13
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- subprojects: |
|
- subprojects: |
|
||||||
mkdir foot/subprojects
|
mkdir foot/subprojects
|
||||||
|
|
@ -34,11 +36,11 @@ tasks:
|
||||||
ln -s ../../fcft foot/subprojects/fcft
|
ln -s ../../fcft foot/subprojects/fcft
|
||||||
- debug: |
|
- debug: |
|
||||||
mkdir -p bld/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
|
ninja -C bld/debug -k0
|
||||||
meson test -C bld/debug --print-errorlogs
|
meson test -C bld/debug --print-errorlogs
|
||||||
- release: |
|
- release: |
|
||||||
mkdir -p bld/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
|
ninja -C bld/release -k0
|
||||||
meson test -C bld/release --print-errorlogs
|
meson test -C bld/release --print-errorlogs
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue