summary refs log tree commit diff stats
path: root/build/ci
diff options
context:
space:
mode:
Diffstat (limited to 'build/ci')
-rw-r--r--build/ci/gitlab-ci.yml8
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