mirror of
https://gitlab.com/pnx-tools/dns-updater.git
synced 2026-06-16 05:54:56 +02:00
.gitlab-ci.yml: build for mips.
This commit is contained in:
parent
9961cec561
commit
0d8148e442
1 changed files with 4 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ stages:
|
|||
- build
|
||||
|
||||
unit-test:
|
||||
stage: test
|
||||
stage: test
|
||||
script:
|
||||
- go test -v ./...
|
||||
|
||||
|
|
@ -14,7 +14,9 @@ compile:
|
|||
stage: build
|
||||
script:
|
||||
- mkdir -p build
|
||||
- go build -o build/dnsupdater cmd/dnsupdater/main.go
|
||||
- GOOS=linux GOARCH=amd64 go build -o build/dnsupdater-linux-amd64 cmd/dnsupdater/main.go
|
||||
- GOOS=linux GOARCH=mips go build -o build/dnsupdater-linux-mips cmd/dnsupdater/main.go
|
||||
- GOOS=linux GOARCH=mipsle go build -o build/dnsupdater-linux-mipsle cmd/dnsupdater/main.go
|
||||
artifacts:
|
||||
paths:
|
||||
- build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue