From d2c08b0a4d9628d52983e2422007b53d7d6fd5b9 Mon Sep 17 00:00:00 2001 From: Glenn Date: Tue, 21 Mar 2023 21:09:34 +0100 Subject: [PATCH] ci: build statically & strip --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 2da6586..06b4be8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,8 @@ steps: - pwd - apt-get update && apt-get install -y cmake g++ - shards install - - shards build --production + - shards build --production --static + - strip /_cache/bin - mkdir -p /_cache/bin - cp -r bin/docmachine /_cache/bin