]> njoseph.me Git - nimcoon.git/blobdiff - .gitlab-ci.yml
Optimize size of binary to 404 KB
[nimcoon.git] / .gitlab-ci.yml
index a87da85c8a7f1b644bee64b8c0d1a228b0e8bf2a..9c9899f4ee769a3a53c20b4dbb0283a95f7631ce 100644 (file)
@@ -2,7 +2,7 @@ image: nimlang/nim:latest
 
 stages:
   - test
-  - build
+  - publish
 
 run-unit-tests:
   stage: test
@@ -12,7 +12,7 @@ run-unit-tests:
 publish-artifacts:
   stage: publish
   script:
-    - nim c -d:ssl -d:release nimcoon.nim && strip nimcoon
+    - nim c -d:ssl -d:release -d:quick --passc:-flto nimcoon.nim && strip nimcoon
   artifacts:
     paths:
       - nimcoon