Skip to content

Commit

Permalink
ci: strip pre-built binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Jan 18, 2020
1 parent cee146a commit 6a52c7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6a52c7c

Please sign in to comment.