summary refs log tree commit diff stats
path: root/build
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-18 18:00:10 +0530
committerAndinus <andinus@nand.sh>2020-03-18 18:00:10 +0530
commit2f15edf548ec131d2eb97bd5338a1adef768acea (patch)
treef498d24d809545ddec75c281b6edc473555a9f1c /build
parent183fb1d77eb2a949880538615d335d8c4d3a6518 (diff)
downloadcetus-2f15edf548ec131d2eb97bd5338a1adef768acea.tar.gz
Restructure for Cetus v0.5
This version aims for a cleaner code, better documentation & to adopt
better practices.
Diffstat (limited to 'build')
-rw-r--r--build/ci/gitlab-ci.yml36
1 files changed, 13 insertions, 23 deletions
diff --git a/build/ci/gitlab-ci.yml b/build/ci/gitlab-ci.yml
index 93a8327..967029c 100644
--- a/build/ci/gitlab-ci.yml
+++ b/build/ci/gitlab-ci.yml
@@ -14,28 +14,18 @@ stages:
 
 compile:
     stage: build
-    only:
-      refs:
-        - web
-        - tags
-        - master
-        - schedules
-        - merge_requests
+    # only:
+    #   refs:
+    #     - web
+    #     - tags
+    #     - master
+    #     - schedules
+    #     - merge_requests
     script:
-      - cd $GOPATH/src/$REPO_NAME/cmd/cetus-nasa
-      - GOOS=openbsd GOARCH=amd64 go build -o $CI_PROJECT_DIR/cetus-nasa-openbsd-amd64
-      - GOOS=linux GOARCH=amd64 go build -o $CI_PROJECT_DIR/cetus-nasa-linux-amd64
-      - cd $GOPATH/src/$REPO_NAME/cmd/cetus-bing
-      - GOOS=openbsd GOARCH=amd64 go build -o $CI_PROJECT_DIR/cetus-bing-openbsd-amd64
-      - GOOS=linux GOARCH=amd64 go build -o $CI_PROJECT_DIR/cetus-bing-linux-amd64
-      - cd $GOPATH/src/$REPO_NAME/cmd/cetus-wallhaven
-      - GOOS=openbsd GOARCH=amd64 go build -o $CI_PROJECT_DIR/cetus-wallhaven-openbsd-amd64
-      - GOOS=linux GOARCH=amd64 go build -o $CI_PROJECT_DIR/cetus-wallhaven-linux-amd64
-    artifacts:
+      - cd $GOPATH/src/$REPO_NAME/cmd/cetus
+      - GOOS=openbsd GOARCH=amd64 go build -o $CI_PROJECT_DIR/cetus-openbsd-amd64
+      - GOOS=linux GOARCH=amd64 go build -o $CI_PROJECT_DIR/cetus-linux-amd64
+      artifacts:
       paths:
-        - cetus-nasa-openbsd-amd64
-        - cetus-nasa-linux-amd64
-        - cetus-bing-openbsd-amd64
-        - cetus-bing-linux-amd64
-        - cetus-wallhaven-openbsd-amd64
-        - cetus-wallhaven-linux-amd64
+        - cetus-openbsd-amd64
+        - cetus-linux-amd64