Optimize size of binary to 404 KB
authorJoseph Nuthalapati <njoseph@riseup.net>
Sun, 12 Jan 2020 07:53:54 +0000 (13:23 +0530)
committerJoseph Nuthalapati <njoseph@riseup.net>
Sun, 12 Jan 2020 07:53:54 +0000 (13:23 +0530)
Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
.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