test building with musl inside container
This commit is contained in:
parent
28ed93cc1c
commit
075f50264a
@ -10,17 +10,21 @@ steps:
|
|||||||
- name: buildci
|
- name: buildci
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update && apt-get install musl -y --no-install-recommends musl musl-dev
|
||||||
- go get ./...
|
- go get ./...
|
||||||
- go vet ./...
|
- go vet ./...
|
||||||
- go build -o dist/PiwigoDirectoryUploader cmd/PiwigoDirectoryUploader/PiwigoDirectoryUploader.go
|
- go build -o dist/PiwigoDirectoryUploader cmd/PiwigoDirectoryUploader/PiwigoDirectoryUploader.go
|
||||||
- go test -cover ./...
|
- go test -cover ./...
|
||||||
|
- build/build-musl.sh
|
||||||
when:
|
when:
|
||||||
branch: master
|
branch: master
|
||||||
|
|
||||||
- name: buildrelease
|
- name: buildrelease
|
||||||
image: golang
|
image: golang
|
||||||
commands:
|
commands:
|
||||||
|
- apt-get update && apt-get install musl -y --no-install-recommends musl
|
||||||
- go get ./...
|
- go get ./...
|
||||||
|
- go test -cover ./...
|
||||||
- build/build-musl.sh
|
- build/build-musl.sh
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
Loading…
Reference in New Issue
Block a user