Skip to content

Commit

Permalink
ci: restore FreeBSD builds
Browse files Browse the repository at this point in the history
Official FreeBSD zig tarballs have returned!

This reverts commit 0f355a9.
  • Loading branch information
ifreund committed Jun 13, 2024
1 parent acbf299 commit c042eab
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .builds/freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
image: freebsd/latest
packages:
- devel/pkgconf
- graphics/wayland
- graphics/wayland-protocols
- scdoc
- security/ca_root_nss
- wget
- x11/libxkbcommon
sources:
- https://codeberg.org/ifreund/waylock
tasks:
- install_deps: |
# 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
- build: |
cd waylock
zig build -Dman-pages
- fmt: |
cd waylock
zig fmt --check build.zig
zig fmt --check src/

0 comments on commit c042eab

Please sign in to comment.