File tree Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Expand file tree Collapse file tree 4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,7 @@ jobs:
242242 matrix :
243243 os :
244244 - freebsd
245+ - netbsd
245246 - openbsd
246247 steps :
247248 -
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ COPY --link --from=buildx-build /usr/bin/docker-buildx /buildx
102102FROM binaries-unix AS binaries-darwin
103103FROM binaries-unix AS binaries-freebsd
104104FROM binaries-unix AS binaries-linux
105+ FROM binaries-unix AS binaries-netbsd
105106FROM binaries-unix AS binaries-openbsd
106107
107108FROM scratch AS binaries-windows
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ target "lint" {
4848 " linux/s390x" ,
4949 " linux/ppc64le" ,
5050 " linux/riscv64" ,
51+ " netbsd/amd64" ,
52+ " netbsd/arm64" ,
5153 " openbsd/amd64" ,
5254 " openbsd/arm64" ,
5355 " windows/amd64" ,
@@ -167,6 +169,8 @@ target "binaries-cross" {
167169 " linux/ppc64le" ,
168170 " linux/riscv64" ,
169171 " linux/s390x" ,
172+ " netbsd/amd64" ,
173+ " netbsd/arm64" ,
170174 " openbsd/amd64" ,
171175 " openbsd/arm64" ,
172176 " windows/amd64" ,
Original file line number Diff line number Diff line change 1+ # -*- mode: ruby -*-
2+ # vi: set ft=ruby :
3+
4+ Vagrant . configure ( "2" ) do |config |
5+ config . vm . box = "generic/netbsd9"
6+ config . vm . box_version = "4.3.12"
7+ config . vm . boot_timeout = 900
8+ config . vm . synced_folder "." , "/vagrant" , type : "rsync"
9+ config . ssh . keep_alive = true
10+
11+ config . vm . provision "init" , type : "shell" , run : "once" do |sh |
12+ sh . inline = <<~SHELL
13+ pkgin -y install git mozilla-rootcerts
14+ mozilla-rootcerts install
15+
16+ ftp https://go.dev/dl/go1.23.3.netbsd-amd64.tar.gz
17+ tar -C /tmp -xzf go1.23.3.netbsd-amd64.tar.gz
18+ ln -s /tmp/go/bin/go /usr/bin/go
19+ SHELL
20+ end
21+ end
You can’t perform that action at this time.
0 commit comments