Skip to content

Commit

Permalink
ci: add Alpine, Archlinux, and FreeBSD builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ifreund committed May 13, 2022
1 parent f3fbec8 commit 543a73e
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .builds/alpine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
image: alpine/edge
packages:
- libxkbcommon-dev
- pkgconf
- scdoc
- tar
- linux-pam-dev
- wayland-dev
- wayland-protocols
- wget
- xz
sources:
- https://github.com/ifreund/waylock
tasks:
- install_deps: |
wget -nv https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz
tar -xvf zig-linux-x86_64-0.9.1.tar.xz 1>/dev/null
sudo mv zig-linux-x86_64-0.9.1/zig /usr/bin/
sudo mv zig-linux-x86_64-0.9.1/lib /usr/lib/zig
- build: |
cd waylock
zig build -Dman-pages
- fmt: |
cd waylock
zig fmt --check build.zig
zig fmt --check src/
26 changes: 26 additions & 0 deletions .builds/archlinux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
image: archlinux
packages:
- libxkbcommon
- pam
- pkgconf
- scdoc
- tar
- wayland
- wayland-protocols
- wget
- xz
sources:
- https://github.com/ifreund/waylock
tasks:
- install_deps: |
wget -nv https://ziglang.org/download/0.9.1/zig-linux-x86_64-0.9.1.tar.xz
tar -xvf zig-linux-x86_64-0.9.1.tar.xz 1>/dev/null
sudo mv zig-linux-x86_64-0.9.1/zig /usr/bin/
sudo mv zig-linux-x86_64-0.9.1/lib /usr/lib/zig
- build: |
cd waylock
zig build -Dman-pages
- fmt: |
cd waylock
zig fmt --check build.zig
zig fmt --check src/
24 changes: 24 additions & 0 deletions .builds/freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
image: freebsd/latest
packages:
- devel/pkgconf
- graphics/wayland
- graphics/wayland-protocols
- scdoc
- wget
- x11/libxkbcommon
sources:
- https://github.com/ifreund/waylock
- https://gitlab.freedesktop.org/wlroots/wlroots
tasks:
- install_deps: |
wget -nv https://ziglang.org/download/0.9.1/zig-freebsd-x86_64-0.9.1.tar.xz
tar -xvf zig-freebsd-x86_64-0.9.1.tar.xz 1>/dev/null
sudo mv zig-freebsd-x86_64-0.9.1/zig /usr/bin/
sudo mv zig-freebsd-x86_64-0.9.1/lib /usr/lib/zig
- build: |
cd waylock
zig build -Dman-pages
- fmt: |
cd waylock
zig fmt --check build.zig
zig fmt --check src/

0 comments on commit 543a73e

Please sign in to comment.