From 6c2664086f45abb2814c078f8834d66cc35426ec Mon Sep 17 00:00:00 2001 From: Kevin Daudt Date: Sat, 18 Dec 2021 20:19:38 +0100 Subject: ci: strip static binary To reduce the file size, strip the static binary. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 055bde7..bfecb50 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,7 +37,7 @@ build-static: script: - abuild-apk add make gcc git musl-dev openssl-dev linux-headers zlib-dev lua5.3-dev lua5.3-lzlib zlib-static openssl-libs-static - make -j$(nproc) static - - cp src/apk.static src/apk.static-$ARCH + - install -s -m0755 src/apk.static src/apk.static-$ARCH parallel: matrix: - ARCH: -- cgit v1.2.3-70-g09d2