X-Git-Url: https://njoseph.me/gitweb/nimcoon.git/blobdiff_plain/68fd8100bc36465b29ae76b9f41d9eb7fa052e7a..c79a62058c3a733c0360f34ec28981ddcc25bc85:/.gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f1c997..9c9899f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 cli_tube.nim + - nim c -d:ssl -r tests + +publish-artifacts: + stage: publish + script: + - nim c -d:ssl -d:release -d:quick --passc:-flto nimcoon.nim && strip nimcoon artifacts: paths: - - clitube + - nimcoon