fix(ci): add zlib for cgo

pull/46/head
Unlock Music Dev 2 years ago
parent 9241512f2d
commit 743c672c44
No known key found for this signature in database
GPG Key ID: 95202E10D3413A1D

@ -69,7 +69,10 @@ local PipelineBuild(GOOS, GOARCH, RUN_TEST) = {
if RUN_TEST then [{
name: 'go test',
image: 'golang:1.19',
commands: ['go test -v ./...'],
commands: [
'apt-get update && apt-get -y install zlib1g-dev',
'go test -v ./...'
],
}] else []
)
+

@ -7,6 +7,7 @@ steps:
image: alpine/git
name: fetch tags
- commands:
- apt-get update && apt-get -y install zlib1g-dev
- go test -v ./...
image: golang:1.19
name: go test

Loading…
Cancel
Save