X-Git-Url: https://njoseph.me/gitweb/nimcoon.git/blobdiff_plain/0ce6e992508dadeae1c98bf19165deef4a3b7c70..d807245d4d9041d9098ea7bb273debfb0224d0ff:/.gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b896d93..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: - - cli_tube + - nimcoon