From: Joseph Nuthalapati Date: Sun, 12 Jan 2020 06:34:24 +0000 (+0530) Subject: ci: Run unit tests in pipeline X-Git-Tag: 0.1.0~20 X-Git-Url: https://njoseph.me/gitweb/nimcoon.git/commitdiff_plain/3b9d57fc1d53a4dc32fe4a2ee636f2bc488e9a61 ci: Run unit tests in pipeline Signed-off-by: Joseph Nuthalapati --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e5efc71..a87da85 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,12 +2,14 @@ image: nimlang/nim:latest stages: - test - - publish + - build -compile: +run-unit-tests: stage: test script: - nim c -d:ssl -r tests + +publish-artifacts: stage: publish script: - nim c -d:ssl -d:release nimcoon.nim && strip nimcoon