Skip to content
Snippets Groups Projects
Verified Commit a1897871 authored by Tóth Miklós Tibor's avatar Tóth Miklós Tibor :shrug:
Browse files

Add CI

parent 8967df96
Branches
No related tags found
No related merge requests found
Pipeline #44693 passed
stages:
- 🔨
variables:
GO_IN: .
GO_OUT: app
GOPATH: /cache/.gopath
GOCACHE: /cache/.gocache
CGO_ENABLED: "0"
go build (amd64):
stage: 🔨
image: golang
before_script:
- mkdir -p $GOPATH
- mkdir -p $GOCACHE
script:
- GOARCH=amd64 go build -v -o "$GO_OUT-linux-amd64" "$GO_IN"
artifacts:
paths:
- "$GO_OUT-linux-amd64"
go build (arm64):
stage: 🔨
image: golang
before_script:
- mkdir -p $GOPATH
- mkdir -p $GOCACHE
script:
- GOARCH=arm64 go build -v -o "$GO_OUT-linux-arm64" "$GO_IN"
artifacts:
paths:
- "$GO_OUT-linux-arm64"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment