mirror of
https://github.com/SapphicCode/protoplex.git
synced 2025-09-26 19:31:23 +08:00
Disable cgo for portability
This commit is contained in:
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@@ -15,6 +15,9 @@ pipeline {
|
||||
}
|
||||
}
|
||||
stage('Build') {
|
||||
environment {
|
||||
CGO_ENABLED = '0'
|
||||
}
|
||||
steps {
|
||||
sh 'gox -parallel=2 -ldflags="-s -w" -output="builds/{{.Dir}}_{{.OS}}_{{.Arch}}" ./cmd/protoplex'
|
||||
}
|
||||
|
Reference in New Issue
Block a user