From 55d4c986173652530d95ae0ec53ead2a053ea012 Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 5 Aug 2018 19:27:51 -0700 Subject: [PATCH] Use gox for build process so more than one architecture is covered --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a428e66..656020b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -34,7 +34,8 @@ format: compile: stage: build script: - - go build -race -ldflags "-extldflags '-static'" -o eth-log-alerting + - go get github.com/mitchellh/gox + - gox -output="builds/{{.Dir}}_{{.OS}}_{{.Arch}}" artifacts: paths: - - eth-log-alerting + - builds/ -- GitLab