]> njoseph.me Git - nimcoon.git/blobdiff - .gitlab-ci.yml
update TODO list
[nimcoon.git] / .gitlab-ci.yml
index 6f1c9971210eb129487ed5fa08edb15f481e3b10..f7727daf6c95ad46e233ea27fec118246b15c01a 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 cli_tube.nim
+    - nimble test
+
+publish-artifacts:
+  stage: publish
+  script:
+    - nimble build && strip nimcoon
   artifacts:
     paths:
-      - clitube
+      - nimcoon