ci: build statically & strip
This commit is contained in:
parent
74dff38d8b
commit
d2c08b0a4d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue