From 0d8148e442d6a59586329b53be609620f90a5a84 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Fri, 8 Dec 2023 17:14:26 +0100 Subject: [PATCH] .gitlab-ci.yml: build for mips. --- .gitlab-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f60caf0..e46498b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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