Optimize size of binary to 404 KB
[nimcoon.git] / .gitlab-ci.yml
index e5efc7163133748eb7c7805cb354fb8c6e263211..9c9899f4ee769a3a53c20b4dbb0283a95f7631ce 100644 (file)
@@ -4,13 +4,15 @@ stages:
   - test
   - publish
 
-compile:
+run-unit-tests:
   stage: test
   script:
     - nim c -d:ssl -r 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