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
+ - nimble test
+
+publish-artifacts:
+ stage: publish
+ script:
+ - nimble build && strip nimcoon
artifacts:
paths:
- nimcoon