Skip to content

ci: add NetBSD build workflow #4

ci: add NetBSD build workflow

ci: add NetBSD build workflow #4

Workflow file for this run

name: netbsd
permissions:
contents: read
on: [push, pull_request]
jobs:
netbsd:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v7
- name: 'Install prerequisites and build'
uses: vmactions/netbsd-vm@v1
with:
prepare: |
# X11 libs (Xext, Xfixes) ship in the NetBSD base system under
# /usr/X11R7, so only DRM and Wayland come from pkgsrc.
/usr/sbin/pkg_add -v meson pkgconf libdrm wayland
run: |
# Let pkg-config find the base-system X11 backend deps as well.
export PKG_CONFIG_PATH="/usr/pkg/lib/pkgconfig:/usr/X11R7/lib/pkgconfig"
meson setup _build -D werror=true
meson compile -C _build
meson install -C _build