Skip to content

Commit 039486f

Browse files
charlesrocketnikneym
authored andcommitted
Add FreeBSD test job
1 parent 25df51f commit 039486f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,27 @@ jobs:
9090
# Run a full build to ensure that works
9191
- run: nix build
9292

93+
test-x86_64-freebsd:
94+
runs-on: ubuntu-latest
95+
steps:
96+
- name: Checkout code
97+
uses: actions/checkout@v4
98+
99+
- name: test
100+
uses: vmactions/freebsd-vm@v1
101+
with:
102+
usesh: true
103+
prepare: |
104+
sed 's/quarterly/latest/g' /etc/pkg/FreeBSD.conf
105+
pkg update -f
106+
pkg upgrade -y
107+
pkg install -y wget
108+
109+
run: |
110+
wget https://ziglang.org/builds/zig-x86_64-freebsd-0.15.0-dev.777+6810ffa42.tar.xz
111+
tar -xf zig-x86_64-freebsd-0.15.0-dev.777+6810ffa42.tar.xz
112+
zig-x86_64-freebsd-0.15.0-dev.777+6810ffa42/zig build test --summary all
113+
93114
test-x86_64-windows:
94115
strategy:
95116
matrix:

0 commit comments

Comments
 (0)