From 053725abbcdf66f9b5ba491b91558d1a2647d9eb Mon Sep 17 00:00:00 2001 From: Nick Barrett Date: Thu, 16 Sep 2021 10:17:13 -0400 Subject: [PATCH] Clone down upstream modules before building. --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db63086..1f0ca77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,8 @@ stages: - export GOPATH="$CI_PROJECT_DIR/.cache" - export GOCACHE="$CI_PROJECT_DIR/.cache/build" - export GO_LDFLAGS="-linkmode external -extldflags -static -X main.Tag=$CI_COMMIT_TAG -X main.Commit=$CI_COMMIT_SHA -X 'main.BuildTime=`date '+%b %_d %Y, %H:%M:%S'`'" + - git clone git@github.com:karmanyaahm/groupme.git ../groupme + - git clone git@github.com:karmanyaahm/mautrix-go.git ../mautrix script: - go build -ldflags "$GO_LDFLAGS" -o mautrix-whatsapp artifacts: