foot/.builds/freebsd-x64.yml
Daniel Eklöf b2d0af7016
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};
2021-01-23 10:07:02 +01:00

40 lines
998 B
YAML

image: freebsd/latest
packages:
- evdev-proto
- libepoll-shim
- meson
- ninja
- pkgconf
- scdoc
- wayland
- wayland-protocols
- freetype2
- fontconfig
- harfbuzz
- pixman
- libxkbcommon
- check
- hack-font
- noto-emoji
sources:
- https://codeberg.org/dnkl/foot
# triggers:
# - action: email
# condition: failure
# to: <committer>
# TODO: drop -Dc_args=-Wno-missing-braces when freebsd/latest is >= 13
tasks:
- debug: |
mkdir -p 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 -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