]> njoseph.me Git - nimcoon.git/blobdiff - .gitlab-ci.yml
Continuously keep playing till I press "q"
[nimcoon.git] / .gitlab-ci.yml
index e9d949b3a0a08b8a8ce9f9a462cb99b2ca11c606..9c9899f4ee769a3a53c20b4dbb0283a95f7631ce 100644 (file)
@@ -1,12 +1,18 @@
 image: nimlang/nim:latest
 
 stages:
-  - build
+  - test
+  - publish
 
-compile:
-  stage: build
+run-unit-tests:
+  stage: test
   script:
-    - nim c -d:ssl -d:release clitube.nim
+    - nim c -d:ssl -r tests
+
+publish-artifacts:
+  stage: publish
+  script:
+    - nim c -d:ssl -d:release -d:quick --passc:-flto nimcoon.nim && strip nimcoon
   artifacts:
     paths:
-      - clitube
+      - nimcoon