mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-06 07:15:30 -04:00
ci: codeberg CI
This commit is contained in:
parent
20e025be39
commit
62e67a26f5
2 changed files with 88 additions and 0 deletions
87
.woodpecker.yml
Normal file
87
.woodpecker.yml
Normal file
|
|
@ -0,0 +1,87 @@
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: plugins/git
|
||||||
|
tags: true
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
codespell:
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- apk add python3
|
||||||
|
- apk add py3-pip
|
||||||
|
- pip install codespell
|
||||||
|
- codespell -Ldoas README.md INSTALL.md CHANGELOG.md *.c *.h doc/*.scd
|
||||||
|
|
||||||
|
subprojects:
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- apk add git
|
||||||
|
- mkdir -p subprojects && cd subprojects
|
||||||
|
- git clone https://codeberg.org/dnkl/tllist.git
|
||||||
|
- git clone https://codeberg.org/dnkl/fcft.git
|
||||||
|
- cd ..
|
||||||
|
|
||||||
|
x64:
|
||||||
|
group: build
|
||||||
|
image: alpine:latest
|
||||||
|
commands:
|
||||||
|
- apk update
|
||||||
|
- apk add musl-dev linux-headers meson ninja gcc scdoc ncurses
|
||||||
|
- apk add libxkbcommon-dev pixman-dev freetype-dev fontconfig-dev harfbuzz-dev utf8proc-dev
|
||||||
|
- apk add wayland-dev wayland-protocols
|
||||||
|
- apk add git
|
||||||
|
- apk add check-dev
|
||||||
|
- apk add ttf-hack font-noto-emoji
|
||||||
|
|
||||||
|
# Debug
|
||||||
|
- mkdir -p bld/debug-x64
|
||||||
|
- cd bld/debug-x64
|
||||||
|
- meson --buildtype=debug -Dgrapheme-clustering=enabled -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true ../..
|
||||||
|
- ninja -v -k0
|
||||||
|
- ninja -v test
|
||||||
|
- cd ../..
|
||||||
|
|
||||||
|
# Release
|
||||||
|
- mkdir -p bld/release-x64
|
||||||
|
- cd bld/release-x64
|
||||||
|
- meson --buildtype=release -Dgrapheme-clustering=enabled -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true ../..
|
||||||
|
- ninja -v -k0
|
||||||
|
- ninja -v test
|
||||||
|
- cd ../..
|
||||||
|
|
||||||
|
# no grapheme clustering
|
||||||
|
- apk del harfbuzz harfbuzz-dev utf8proc utf8proc-dev
|
||||||
|
- mkdir -p bld/debug
|
||||||
|
- cd bld/debug
|
||||||
|
- meson --buildtype=debug -Dgrapheme-clustering=disabled -Dfcft:text-shaping=disabled -Dfcft:test-text-shaping=false ../..
|
||||||
|
- ninja -v -k0
|
||||||
|
- ninja -v test
|
||||||
|
- cd ../..
|
||||||
|
|
||||||
|
x86:
|
||||||
|
group: build
|
||||||
|
image: i386/alpine:latest
|
||||||
|
commands:
|
||||||
|
- apk update
|
||||||
|
- apk add musl-dev linux-headers meson ninja gcc scdoc ncurses
|
||||||
|
- apk add libxkbcommon-dev pixman-dev freetype-dev fontconfig-dev harfbuzz-dev utf8proc-dev
|
||||||
|
- apk add wayland-dev wayland-protocols
|
||||||
|
- apk add git
|
||||||
|
- apk add check-dev
|
||||||
|
- apk add ttf-hack font-noto-emoji
|
||||||
|
|
||||||
|
# Debug
|
||||||
|
- mkdir -p bld/debug-x86
|
||||||
|
- cd bld/debug-x86
|
||||||
|
- meson --buildtype=debug -Dgrapheme-clustering=enabled -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true ../..
|
||||||
|
- ninja -v -k0
|
||||||
|
- ninja -v test
|
||||||
|
- cd ../..
|
||||||
|
|
||||||
|
# Release
|
||||||
|
- mkdir -p bld/release-x86
|
||||||
|
- cd bld/release-x86
|
||||||
|
- meson --buildtype=release -Dgrapheme-clustering=enabled -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true ../..
|
||||||
|
- ninja -v -k0
|
||||||
|
- ninja -v test
|
||||||
|
- cd ../..
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
The fast, lightweight and minimalistic Wayland terminal emulator.
|
The fast, lightweight and minimalistic Wayland terminal emulator.
|
||||||
|
|
||||||
|
[](https://ci.codeberg.org/dnkl/foot)
|
||||||
[](https://gitlab.com/dnkl/foot/commits/master)
|
[](https://gitlab.com/dnkl/foot/commits/master)
|
||||||
[](https://builds.sr.ht/~dnkl/foot?)
|
[](https://builds.sr.ht/~dnkl/foot?)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue