Skip to content

Commit 3d762a0

Browse files
committed
ci: Add NetBSD CI build target
Signed-off-by: Akira Moroo <[email protected]>
1 parent 187fb89 commit 3d762a0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/build.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,29 @@ jobs:
5555
make fmt
5656
make -C apps/basic fmt
5757
test -z "$(git status --porcelain)"
58+
netbsd-build:
59+
name: NetBSD Build
60+
runs-on: ubuntu-latest
61+
steps:
62+
- name: Code checkout
63+
uses: actions/checkout@v4
64+
with:
65+
fetch-depth: 0
66+
- name: Build on NetBSD
67+
uses: vmactions/netbsd-vm@v1
68+
with:
69+
arch: aarch64
70+
usesh: true
71+
prepare: |
72+
pkg_add clang
73+
run: |
74+
make clean
75+
make -C apps/basic clean
76+
make
77+
make -C apps/basic
78+
make fmt
79+
make -C apps/basic fmt
80+
test -z "$(git status --porcelain)"
5881
android-build:
5982
name: Android Cross Build
6083
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)