Skip to content

ci: add NetBSD build workflow #5

ci: add NetBSD build workflow

ci: add NetBSD build workflow #5

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: |
# libdrm and the X11 libs (Xext, Xfixes) ship in the NetBSD base
# system under /usr/X11R7 -- they are not pkgsrc packages -- so
# only meson, pkgconf and wayland are installed here.
/usr/sbin/pkg_add -v meson pkgconf wayland
run: |
# pkgsrc deps live under /usr/pkg; the base-system DRM/X11 backend
# deps live under /usr/X11R7 -- make pkg-config search both.
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