fix(ci): add zlib for cgo

This commit is contained in:
Unlock Music Dev
2022-12-05 01:00:00 +08:00
parent 9241512f2d
commit 743c672c44
2 changed files with 5 additions and 1 deletions

View File

@@ -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 []
)
+