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