]> njoseph.me Git - nimcoon.git/blobdiff - .gitlab-ci.yml
Modularity and Tests
[nimcoon.git] / .gitlab-ci.yml
index e9d949b3a0a08b8a8ce9f9a462cb99b2ca11c606..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 clitube.nim
+    - nim c -d:ssl -r tests
+  stage: publish
+  script:
+    - nim c -d:ssl -d:release nimcoon.nim && strip nimcoon
   artifacts:
     paths:
-      - clitube
+      - nimcoon