Skip to content

Commit fa7cc5a

Browse files
committed
CI: cross compile to BSDs
1 parent f9a0c46 commit fa7cc5a

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,12 @@ jobs:
3535
- name: Build
3636
run: zig build --summary all
3737

38+
- name: Build (cross-compile BSDs)
39+
if: matrix.os == 'ubuntu-latest'
40+
run: |
41+
zig build -Dtarget=native-freebsd
42+
zig build -Dtarget=native-netbsd
43+
zig build -Dtarget=native-openbsd
44+
3845
- name: Run Tests
3946
run: zig build test --summary all

0 commit comments

Comments
 (0)