diff options
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c64b172..96f63e8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,6 +2,7 @@ image: golang:1.19 stages: - test + - build go-fmt: stage: test @@ -14,3 +15,13 @@ go-vet: go-test: stage: test script: go test -race ./... + +install: + stage: build + before_script: + - apt update + - apt install make help2man + script: + - make DESTDIR=out PREFIX= install + - make DESTDIR=out PREFIX= uninstall + - make clean |