Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Sep 28, 2023
1 parent 24b0549 commit 71fd4a8
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions ci-after-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@ for s in build/${TARGET_OS}-*; do
fi
done
find mdk-sdk* -name "*.a" -delete
: ${STRIP:=llvm-strip}

export PATH=$PATH:$ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin:$ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/darwin-x86_64/bin
: ${STRIP:=llvm-strip-$LLVM_VER}
which $STRIP || STRIP=llvm-strip
[ "$TARGET_OS" == "macOS" ] && STRIP=strip
which $STRIP && find mdk-sdk*/bin -executable -type f -exec $STRIP {} \;
ls -lh mdk-sdk*/bin/*
which $STRIP && find mdk-sdk*/bin -type f -exec $STRIP {} \;
ls -lh mdk-sdk*/bin/*
export XZ_OPT="-T0" # -9e. -8/9 will disable mt?
if [[ "$TARGET_OS" == "win"* || "$TARGET_OS" == "uwp"* || "$TARGET_OS" == "android" ]]; then
7z a -ssc -m0=lzma2 -mx=9 -ms=on -mf=off mdk-sdk-${TARGET_OS}.7z mdk-sdk
Expand Down

0 comments on commit 71fd4a8

Please sign in to comment.