Optimize size of binary to 404 KB
[nimcoon.git] / .gitlab-ci.yml
index b4dc78b4f63619025ffb565d4b210a1973ccc692..9c9899f4ee769a3a53c20b4dbb0283a95f7631ce 100644 (file)
@@ -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