Skip to content

Commit 8470194

Browse files
committed
ci: add NetBSD build workflow
Signed-off-by: Carl.Zhang <carl.zhang@intel.com>
1 parent 28388a0 commit 8470194

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/netbsd.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: netbsd
2+
3+
permissions:
4+
contents: read
5+
6+
on: [push, pull_request]
7+
8+
jobs:
9+
netbsd:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: 'Checkout'
13+
uses: actions/checkout@v7
14+
- name: 'Install prerequisites and build'
15+
uses: vmactions/netbsd-vm@v1
16+
with:
17+
prepare: |
18+
/usr/sbin/pkg_add -v meson pkgconf libdrm libXext libXfixes wayland
19+
run: |
20+
meson setup _build -D werror=true
21+
meson compile -C _build
22+
meson install -C _build

0 commit comments

Comments
 (0)