1
0
Fork 0
mirror of https://gitlab.com/pnx-tools/dns-updater.git synced 2026-06-16 05:54:56 +02:00

Adding .gitlab-ci.yml

This commit is contained in:
Henrik Hautakoski 2023-08-11 18:41:45 +00:00
parent f57d355631
commit 5c52e76b11

20
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,20 @@
image: golang:1.19
stages:
- test
- build
unit-test:
stage: test
script:
- go test -v ./...
compile:
stage: build
script:
- mkdir -p build
- go build -o build/dnsupdater cmd/dnsupdater/main.go
artifacts:
paths:
- build