diff options
author | Andinus <andinus@inventati.org> | 2020-03-14 23:07:17 +0530 |
---|---|---|
committer | Andinus <andinus@inventati.org> | 2020-03-14 23:24:43 +0530 |
commit | d7f130bafd264f109178b995df179372ab4cf229 (patch) | |
tree | d1d164aa3351386573dc47f983c7e80e6872d1ec /build | |
parent | 50c8cf0883089d44e3abcd8a88e4541404e2feba (diff) | |
download | cetus-d7f130bafd264f109178b995df179372ab4cf229.tar.gz |
Fix gitlab-cli error
Diffstat (limited to 'build')
-rw-r--r-- | build/ci/gitlab-ci.yml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build/ci/gitlab-ci.yml b/build/ci/gitlab-ci.yml index 0d47235..a8ec0f4 100644 --- a/build/ci/gitlab-ci.yml +++ b/build/ci/gitlab-ci.yml @@ -5,7 +5,7 @@ variables: before_script: - mkdir -p $GOPATH/src/$REPO_NAME - - ln -svf $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME/ + - cp -fr $CI_PROJECT_DIR/* $GOPATH/src/$REPO_NAME/ - cd $GOPATH/src/$REPO_NAME stages: @@ -15,7 +15,9 @@ stages: compile: stage: build script: - - GOOS=openbsd GOARCH=amd64 go build ./cmd/cetus-nasa -o $CI_PROJECT_DIR/cetus-nasa-linux-amd64 + - 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-linux-amd64 + - cetus-nasa-openbsd-amd64 |