Skip to content
Snippets Groups Projects
Commit 1de83caa authored by Thomas Schneider's avatar Thomas Schneider Committed by Thomas Schneider
Browse files

Add GitLab CI config

parent 666db69c
Branches
No related tags found
No related merge requests found
Pipeline #3217 passed
---
image: debian:buster
variables:
GOCACHE: $CI_PROJECT_DIR/.gocache
GOPATH: $CI_PROJECT_DIR/.go
cache:
paths:
- .gocache
- .go
before_script:
- echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/backports.list
- apt-get update && apt-get -qq -y -t buster-backports install golang git
- go version
build:
script:
- go build -o $CI_PROJECT_NAME-$GOOS-$GOARCH
artifacts:
paths:
- $CI_PROJECT_NAME-$GOOS-$GOARCH
parallel:
matrix:
- GOOS:
- linux
GOARCH:
- amd64
- arm
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment