blob: a8ec0f43cf589358c5a6ae3986ba00b4954fd979 (
plain) (
tree)
|
|
image: golang:1.13
variables:
REPO_NAME: framagit.org/andinus/cetus
before_script:
- mkdir -p $GOPATH/src/$REPO_NAME
- cp -fr $CI_PROJECT_DIR/* $GOPATH/src/$REPO_NAME/
- cd $GOPATH/src/$REPO_NAME
stages:
- build
- deploy
compile:
stage: build
script:
- find *
- cd $GOPATH/src/$REPO_NAME/cmd/cetus-nasa
- GOOS=openbsd GOARCH=amd64 go build -o $CI_PROJECT_DIR/cetus-nasa-openbsd-amd64
artifacts:
paths:
- cetus-nasa-openbsd-amd64
|