-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
184 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
image: alpine/edge | ||
packages: | ||
- eudev-dev | ||
- libinput-dev | ||
- libseat-dev | ||
- mesa-dev | ||
- libffi-dev | ||
- expat-dev | ||
- hwdata-dev | ||
- libdisplay-info-dev | ||
- libxkbcommon-dev | ||
- xcb-util-image-dev | ||
- xcb-util-renderutil-dev | ||
- xcb-util-wm-dev | ||
- pixman-dev | ||
- libevdev-dev | ||
- wayland-protocols | ||
- xwayland-dev | ||
- meson | ||
- scdoc | ||
- tar | ||
- wget | ||
- xz | ||
sources: | ||
- https://codeberg.org/ifreund/zig-wlroots | ||
- https://gitlab.freedesktop.org/wayland/wayland.git | ||
- https://gitlab.freedesktop.org/wlroots/wlroots.git | ||
tasks: | ||
- install_deps: | | ||
cd wayland | ||
git checkout 1.23.0 | ||
meson setup build -Ddocumentation=false -Dtests=false --prefix /usr | ||
sudo ninja -C build install | ||
cd .. | ||
cd wlroots | ||
git checkout 0.18.0 | ||
meson setup build --auto-features=enabled -Drenderers=gles2 \ | ||
-Dcolor-management=disabled -Dlibliftoff=disabled \ | ||
-Dexamples=false -Dwerror=false -Db_ndebug=false \ | ||
-Dxcb-errors=disabled --prefix /usr | ||
sudo ninja -C build/ install | ||
cd .. | ||
# Eat Github's resources rather than the Zig Software Foundation's resources! | ||
wget -nv https://github.com/ifreund/zig-tarball-mirror/releases/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz | ||
tar xf zig-linux-x86_64-0.13.0.tar.xz | ||
sudo mv zig-linux-x86_64-0.13.0/zig /usr/bin/ | ||
sudo mv zig-linux-x86_64-0.13.0/lib /usr/lib/zig | ||
- test: | | ||
cd zig-wlroots | ||
zig build -Denable-tests test --summary all | ||
- tinywl: | | ||
cd zig-wlroots/tinywl | ||
zig build --summary all | ||
- fmt: | | ||
cd zig-wlroots | ||
zig fmt --check src/ | ||
zig fmt --check tinywl/ | ||
zig fmt --check build.zig | ||
zig fmt --check build.zig.zon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
image: archlinux | ||
packages: | ||
- libdisplay-info | ||
- libevdev | ||
- libinput | ||
- libxkbcommon | ||
- mesa | ||
- meson | ||
- pixman | ||
- wayland | ||
- wayland-protocols | ||
- hwdata | ||
- xcb-util-errors | ||
- xcb-util-image | ||
- xcb-util-renderutil | ||
- xcb-util-wm | ||
- xorg-xwayland | ||
- seatd | ||
- tar | ||
- wget | ||
- xz | ||
sources: | ||
- https://codeberg.org/ifreund/zig-wlroots | ||
- https://gitlab.freedesktop.org/wayland/wayland.git | ||
- https://gitlab.freedesktop.org/wlroots/wlroots.git | ||
tasks: | ||
- install_deps: | | ||
cd wayland | ||
git checkout 1.23.0 | ||
meson setup build -Ddocumentation=false -Dtests=false --prefix /usr | ||
sudo ninja -C build install | ||
cd .. | ||
cd wlroots | ||
git checkout 0.18.0 | ||
meson setup build --auto-features=enabled -Drenderers=gles2 \ | ||
-Dcolor-management=disabled -Dlibliftoff=disabled \ | ||
-Dexamples=false -Dwerror=false -Db_ndebug=false \ | ||
-Dxcb-errors=disabled --prefix /usr | ||
sudo ninja -C build/ install | ||
cd .. | ||
# Eat Github's resources rather than the Zig Software Foundation's resources! | ||
wget -nv https://github.com/ifreund/zig-tarball-mirror/releases/download/0.13.0/zig-linux-x86_64-0.13.0.tar.xz | ||
tar xf zig-linux-x86_64-0.13.0.tar.xz | ||
sudo mv zig-linux-x86_64-0.13.0/zig /usr/bin/ | ||
sudo mv zig-linux-x86_64-0.13.0/lib /usr/lib/zig | ||
- test: | | ||
cd zig-wlroots | ||
zig build -Denable-tests test --summary all | ||
- tinywl: | | ||
cd zig-wlroots/tinywl | ||
zig build --summary all | ||
- fmt: | | ||
cd zig-wlroots | ||
zig fmt --check src/ | ||
zig fmt --check tinywl/ | ||
zig fmt --check build.zig | ||
zig fmt --check build.zig.zon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
image: freebsd/latest | ||
packages: | ||
- devel/evdev-proto | ||
- devel/libevdev | ||
- devel/libepoll-shim | ||
- devel/libudev-devd | ||
- devel/meson | ||
- devel/pkgconf | ||
- graphics/mesa-libs | ||
- graphics/wayland-protocols | ||
- misc/hwdata | ||
- x11/libX11 | ||
- x11/libinput | ||
- x11/libxcb | ||
- x11/libxkbcommon | ||
- x11/pixman | ||
- x11/xcb-util-errors | ||
- x11/xcb-util-renderutil | ||
- x11/xcb-util-wm | ||
- x11-servers/xwayland | ||
- security/ca_root_nss | ||
- sysutils/seatd | ||
- sysutils/libdisplay-info | ||
- gmake | ||
- scdoc | ||
- wget | ||
sources: | ||
- https://codeberg.org/ifreund/zig-wlroots | ||
- https://gitlab.freedesktop.org/wayland/wayland.git | ||
- https://gitlab.freedesktop.org/wlroots/wlroots.git | ||
tasks: | ||
- install_deps: | | ||
cd wayland | ||
git checkout 1.23.0 | ||
meson setup build -Ddocumentation=false -Dtests=false --prefix /usr | ||
sudo ninja -C build install | ||
cd .. | ||
cd wlroots | ||
git checkout 0.18.0 | ||
meson setup build --auto-features=enabled -Drenderers=gles2 \ | ||
-Dcolor-management=disabled -Dlibliftoff=disabled \ | ||
-Dexamples=false -Dwerror=false -Db_ndebug=false \ | ||
-Dxcb-errors=disabled --prefix /usr | ||
sudo ninja -C build/ install | ||
cd .. | ||
# Eat Github's resources rather than the Zig Software Foundation's resources! | ||
wget -nv https://github.com/ifreund/zig-tarball-mirror/releases/download/0.13.0/zig-freebsd-x86_64-0.13.0.tar.xz | ||
tar xf zig-freebsd-x86_64-0.13.0.tar.xz | ||
sudo mv zig-freebsd-x86_64-0.13.0/zig /usr/bin/ | ||
sudo mv zig-freebsd-x86_64-0.13.0/lib /usr/lib/zig | ||
- test: | | ||
cd zig-wlroots | ||
zig build -Denable-tests test --summary all | ||
- tinywl: | | ||
cd zig-wlroots/tinywl | ||
zig build --summary all | ||
- fmt: | | ||
cd zig-wlroots | ||
zig fmt --check src/ | ||
zig fmt --check tinywl/ | ||
zig fmt --check build.zig | ||
zig fmt --check build.zig.zon |