From ad5869fa5dab9383f17d03c20d24b06065747655 Mon Sep 17 00:00:00 2001 From: martina <martina@freirad.at> Date: Fri, 13 Dec 2024 15:14:35 +0100 Subject: [PATCH] ci: use make build in ci build job, #30 --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97b7d1d..4d990fd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -69,10 +69,9 @@ test-all: build: stage: build script: - # we should actually use `make build` here, see #30 - - go build -ldflags "-extldflags '-static'" -tags netgo -o $CI_PROJECT_DIR/tank ./cmd/tank - ## sqlite needs cgo... :( - ##- go build -o $CI_PROJECT_DIR/tank ./cmd/tank + # ensure dependencies are installed before running make + - apt-get update && apt-get install -y make + - make build rules: *feature-rules artifacts: paths: -- GitLab