foot/.builds/freebsd-x64.yml
Daniel Eklöf 4a00d0d050
ci (gitlab+builds.sr.ht): execute foot{,client} --version
This runs our builtin unit tests (debug builds only), and verifies it
runs, at all. (and also logs the version in the build logs...)
2021-12-11 18:52:05 +01:00

44 lines
1.1 KiB
YAML

image: freebsd/latest
packages:
- evdev-proto
- libepoll-shim
- meson
- ninja
- pkgconf
- scdoc
- wayland
- wayland-protocols
- freetype2
- fontconfig
- harfbuzz
- utf8proc
- pixman
- libxkbcommon
- check
- hack-font
- noto-emoji
sources:
- https://codeberg.org/dnkl/foot
# triggers:
# - action: email
# condition: failure
# to: <committer>
tasks:
- debug: |
mkdir -p bld/debug
meson --buildtype=debug -Dterminfo=disabled -Dgrapheme-clustering=enabled -Dfcft:grapheme-shaping=enabled -Dfcft:run-shaping=enabled -Dfcft:test-text-shaping=true foot bld/debug
ninja -C bld/debug -k0
meson test -C bld/debug --print-errorlogs
bld/debug/foot --version
bld/debug/footclient --version
- release: |
mkdir -p bld/release
meson --buildtype=minsize -Dterminfo=disabled -Dgrapheme-clustering=enabled -Dfcft:grapheme-shaping=enabled -Dfcft:run-shaping=enabled -Dfcft:test-text-shaping=true foot bld/release
ninja -C bld/release -k0
meson test -C bld/release --print-errorlogs
bld/release/foot --version
bld/release/footclient --version