]> njoseph.me Git - nimcoon.git/blobdiff - .gitlab-ci.yml
Fix .gitlab-ci.yml
[nimcoon.git] / .gitlab-ci.yml
index 727e2f2f3f5729d076652a36f70fc14ddca2c776..b4dc78b4f63619025ffb565d4b210a1973ccc692 100644 (file)
@@ -1,10 +1,16 @@
 image: nimlang/nim:latest
 
 stages:
-  - build
+  - test
+  - publish
 
-compile:
-  stage: build
+run-unit-tests:
+  stage: test
+  script:
+    - nim c -d:ssl -r tests
+
+publish-artifacts:
+  stage: publish
   script:
     - nim c -d:ssl -d:release nimcoon.nim && strip nimcoon
   artifacts: