Optimize size of binary to 404 KB
[nimcoon.git] / .gitlab-ci.yml
CommitLineData
0ce6e992
JN
1image: nimlang/nim:latest
2
3stages:
d65a1dcf 4 - test
a2f24b3b 5 - publish
0ce6e992 6
3b9d57fc 7run-unit-tests:
d65a1dcf
JN
8 stage: test
9 script:
10 - nim c -d:ssl -r tests
3b9d57fc
JN
11
12publish-artifacts:
d65a1dcf 13 stage: publish
0ce6e992 14 script:
c79a6205 15 - nim c -d:ssl -d:release -d:quick --passc:-flto nimcoon.nim && strip nimcoon
0ce6e992
JN
16 artifacts:
17 paths:
3c20e75c 18 - nimcoon