simplify gitlab-ci

This commit is contained in:
Mikaël Cluseau 2018-07-06 19:33:30 +11:00
parent 72307bc7ab
commit 083d03e034

View File

@ -22,9 +22,9 @@ format:
compile:
stage: build
script:
- go build -race -ldflags "-extldflags '-static'" ./cmd/dkl-apply-config
- go build -race -ldflags "-extldflags '-static'" ./cmd/dkl-system-init
- go build -race -ldflags "-extldflags '-static'" ./cmd/dkl-initrd-init
- go build ./cmd/dkl-apply-config
- go build ./cmd/dkl-system-init
- CGO_ENABLED=0 go build ./cmd/dkl-initrd-init
artifacts:
paths:
- dkl-apply-config