From 6a52c7cde31858b0dfc7c6a23552759b20e1ee90 Mon Sep 17 00:00:00 2001 From: Dima Krasner Date: Sat, 18 Jan 2020 16:21:56 +0200 Subject: [PATCH] ci: strip pre-built binaries --- ci/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/build.sh b/ci/build.sh index 8adaa67..6a3a7af 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -25,8 +25,9 @@ for i in arm-any32-linux-musleabi armeb-any32-linux-musleabi i386-any32-linux-musl mips-any32-linux-musl mipsel-any32-linux-musl do wget -qO- https://github.com/dimkr/toolchains/releases/latest/download/$i.tar.gz | tar -xzf - -C / - meson --cross-file=$i build-$1-$i + meson --cross-file=$i --buildtype=release build-$1-$i ninja -C build-$1-$i + /opt/x-tools/$i/bin/$i-strip -s -R.note -R.comment build-$1-$i/papaw install -D -m 755 build-$1-$i/papaw artifacts/papaw-$1-${i%%-*} done