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