File tree 4 files changed +31
-1
lines changed
4 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ jobs:
243
243
matrix :
244
244
os :
245
245
- freebsd
246
+ - netbsd
246
247
- openbsd
247
248
steps :
248
249
-
@@ -280,7 +281,7 @@ jobs:
280
281
-
281
282
name : Test
282
283
run : |
283
- vagrant ssh -- "cd /vagrant; SKIP_INTEGRATION_TESTS=1 go test -mod=vendor -coverprofile=coverage.txt -covermode=atomic ${{ env.TESTFLAGS }} ./..."
284
+ vagrant ssh -- "env|sort; df -h; cd /vagrant; SKIP_INTEGRATION_TESTS=1 go test -mod=vendor -coverprofile=coverage.txt -covermode=atomic ${{ env.TESTFLAGS }} ./..."
284
285
vagrant ssh -c "sudo cat /vagrant/coverage.txt" > coverage.txt
285
286
-
286
287
name : Upload coverage
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ COPY --link --from=buildx-build /usr/bin/docker-buildx /buildx
102
102
FROM binaries-unix AS binaries-darwin
103
103
FROM binaries-unix AS binaries-freebsd
104
104
FROM binaries-unix AS binaries-linux
105
+ FROM binaries-unix AS binaries-netbsd
105
106
FROM binaries-unix AS binaries-openbsd
106
107
107
108
FROM scratch AS binaries-windows
Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ target "lint" {
48
48
" linux/s390x" ,
49
49
" linux/ppc64le" ,
50
50
" linux/riscv64" ,
51
+ " netbsd/amd64" ,
52
+ " netbsd/arm64" ,
51
53
" openbsd/amd64" ,
52
54
" openbsd/arm64" ,
53
55
" windows/amd64" ,
@@ -167,6 +169,8 @@ target "binaries-cross" {
167
169
" linux/ppc64le" ,
168
170
" linux/riscv64" ,
169
171
" linux/s390x" ,
172
+ " netbsd/amd64" ,
173
+ " netbsd/arm64" ,
170
174
" openbsd/amd64" ,
171
175
" openbsd/arm64" ,
172
176
" 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 . boot_timeout = 900
7
+ config . vm . synced_folder "." , "/vagrant" , type : "rsync"
8
+ config . ssh . keep_alive = true
9
+
10
+ config . vm . provision "init" , type : "shell" , run : "once" do |sh |
11
+ sh . inline = <<~SHELL
12
+ mkdir -p /var/tmp
13
+ chmod 1777 /var/tmp
14
+ echo 'export TMPDIR="/var/tmp"' >> /etc/profile
15
+
16
+ pkgin -y install git mozilla-rootcerts
17
+ mozilla-rootcerts install
18
+
19
+ ftp https://go.dev/dl/go1.23.3.netbsd-amd64.tar.gz
20
+ tar -C /var/tmp -xzf go1.23.3.netbsd-amd64.tar.gz
21
+ ln -s /var/tmp/go/bin/go /usr/bin/go
22
+ SHELL
23
+ end
24
+ end
You can’t perform that action at this time.
0 commit comments