This commit is contained in:
Tyler 2018-06-30 23:18:06 -04:00
parent 7f876659db
commit 9e9d9af6bb
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,7 @@ stages:
build-windows-amd64: build-windows-amd64:
image: golang:alpine image: golang:alpine
stage: build
script: script:
- go get -d - go get -d
- GOOS=windows go build -o godns.exe - GOOS=windows go build -o godns.exe
@ -16,6 +17,7 @@ build-windows-amd64:
build-linux-amd64: build-linux-amd64:
image: golang:alpine image: golang:alpine
stage: build
script: script:
- go get -d - go get -d
- GOOS=linux go build -o godns - GOOS=linux go build -o godns
@ -25,6 +27,7 @@ build-linux-amd64:
build-linux-arm: build-linux-arm:
image: golang:alpine image: golang:alpine
stage: build
script: script:
- go get -d - go get -d
- GOARCH=arm GOOS=linux go build -o godns-arm - GOARCH=arm GOOS=linux go build -o godns-arm
@ -34,6 +37,7 @@ build-linux-arm:
build-linux-arm64: build-linux-arm64:
image: golang image: golang
stage: build
script: script:
- go get -d - go get -d
- GOARCH=arm64 GOOS=linux go build -o godns-arm64 - GOARCH=arm64 GOOS=linux go build -o godns-arm64