Skip to content

Commit 33867e4

Browse files
authored
build on freebsd 15 (#10)
1 parent 0985eba commit 33867e4

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/release.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,25 @@ jobs:
2121

2222
- name: Build
2323
id: build
24-
uses: vmactions/freebsd-vm@v1
24+
uses: vmactions/freebsd-vm@v1.2.3
2525
with:
2626
usesh: true
2727
copyback: true
28-
release: "14.3"
28+
release: "15.0"
2929
prepare: |
30-
pkg install -y git go124 ca_root_nss poudriere
30+
pkg lock -y pkg
31+
mkdir -p /usr/local/etc/pkg/repos
32+
sh -c 'cat > /usr/local/etc/pkg/repos/FreeBSD.conf <<EOF
33+
FreeBSD: {
34+
url: "pkg+http://pkg.FreeBSD.org/FreeBSD:14:amd64/quarterly",
35+
mirror_type: "srv",
36+
signature_type: "fingerprints",
37+
fingerprints: "/usr/share/keys/pkg",
38+
enabled: yes
39+
}
40+
EOF'
41+
env ABI=FreeBSD:14:amd64 env IGNORE_OSVERSION=yes pkg update
42+
pkg install -y git go124 ca_root_nss
3143
git clone -b devel --depth 1 --single-branch https://github.com/pfsense/FreeBSD-ports.git /usr/ports
3244
run: |
3345
set -ex
@@ -71,4 +83,4 @@ jobs:
7183
pfSense-pkg-NetBird/work/pkg/pfSense-pkg-NetBird-*.pkg
7284
netbird/work/pkg/netbird-*.pkg
7385
env:
74-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)