ci: build statically & strip
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing

This commit is contained in:
Glenn Y. Rolland 2023-03-21 21:09:34 +01:00
parent 74dff38d8b
commit d2c08b0a4d

View file

@ -13,7 +13,8 @@ steps:
- pwd - pwd
- apt-get update && apt-get install -y cmake g++ - apt-get update && apt-get install -y cmake g++
- shards install - shards install
- shards build --production - shards build --production --static
- strip /_cache/bin
- mkdir -p /_cache/bin - mkdir -p /_cache/bin
- cp -r bin/docmachine /_cache/bin - cp -r bin/docmachine /_cache/bin