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