diff --git a/ci-after-build.sh b/ci-after-build.sh index 6eadcca..bd4c852 100755 --- a/ci-after-build.sh +++ b/ci-after-build.sh @@ -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