File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 87
87
id : test
88
88
89
89
with :
90
+ usesh : true
90
91
prepare : pkg install -y go gnome-keyring
91
92
run : |
92
93
go version
93
- go build -v ./...
94
+ go build -v
94
95
dbus-run-session -- sh -c "echo 'somecredstorepass' | gnome-keyring-daemon --unlock; go test -v ./..."
96
+ # verify that we can build for freebsd with cgo disabled
97
+ # This will disable the functionality as it depends on cgo (via
98
+ # godbus) but should still be buildable to not break backwards
99
+ # compatibility
100
+ CGO_ENABLED=0 go build -v
Original file line number Diff line number Diff line change 1
- //go:build dragonfly || freebsd || linux || netbsd || openbsd
2
- // +build dragonfly freebsd linux netbsd openbsd
1
+ //go:build (dragonfly && cgo) || (freebsd && cgo) || linux || netbsd || openbsd
3
2
4
3
package keyring
5
4
You can’t perform that action at this time.
0 commit comments