Bump version and update changelog
[nimcoon.git] / .gitlab-ci.yml
index 727e2f2f3f5729d076652a36f70fc14ddca2c776..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 nimcoon.nim && strip nimcoon
+    - nimble test
+
+publish-artifacts:
+  stage: publish
+  script:
+    - nimble build && strip nimcoon
   artifacts:
     paths:
       - nimcoon