mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
55 lines
1.4 KiB
Text
55 lines
1.4 KiB
Text
image: alpine/edge
|
|
packages:
|
|
- musl-dev
|
|
- eudev-libs
|
|
- eudev-dev
|
|
- linux-headers
|
|
- meson
|
|
- ninja
|
|
- gcc
|
|
- scdoc
|
|
- wayland-dev
|
|
- wayland-protocols
|
|
- freetype-dev
|
|
- fontconfig-dev
|
|
- harfbuzz-dev
|
|
- utf8proc-dev
|
|
- pixman-dev
|
|
- libxkbcommon-dev
|
|
- ncurses
|
|
- python3
|
|
- py3-pip
|
|
- check-dev
|
|
- ttf-hack
|
|
- font-noto-emoji
|
|
|
|
sources:
|
|
- https://git.sr.ht/~dnkl/foot
|
|
|
|
# triggers:
|
|
# - action: email
|
|
# condition: failure
|
|
# to: <committer>
|
|
|
|
tasks:
|
|
- fcft: |
|
|
cd foot/subprojects
|
|
git clone https://codeberg.org/dnkl/fcft.git
|
|
cd ../..
|
|
- debug: |
|
|
mkdir -p bld/debug
|
|
meson --buildtype=debug -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
|
|
- release: |
|
|
mkdir -p bld/release
|
|
meson --buildtype=minsize -Db_pgo=generate -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
|
|
- codespell: |
|
|
python3 -m venv codespell-venv
|
|
source codespell-venv/bin/activate
|
|
pip install codespell
|
|
cd foot
|
|
~/.local/bin/codespell -Lser,doas,zar README.md INSTALL.md CHANGELOG.md *.c *.h doc/*.scd
|
|
deactivate
|