File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 2323 run :
2424 shell : bash
2525 steps :
26- - name : Extract and compress NDK Sysroot
26+ - name : Extract and compress NDK Sysroot and Compiler-RT
2727 run : |
2828 set -euxo pipefail
2929 export XZ_OPT="-T1 -9"
@@ -34,11 +34,17 @@ jobs:
3434
3535 tar -cJf /tmp/ndk_sysroot.tar.xz -C "$SYSROOT" .
3636
37+ cd "${ANDROID_NDK_HOME:?}"/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/*/lib/linux
38+ find ./ -mindepth 1 -type d -exec sh -c 'echo "INPUT(-lunwind)" > "$1"/libgcc.a' sh {} \;
39+ tar -cJf /tmp/android_compiler-rt.tar.xz -C . .
40+
3741 - name : Create Release
3842 if : startsWith(github.ref, 'refs/tags/')
3943 uses : softprops/action-gh-release@v2
4044 with :
4145 body : ' NDK Sysroot'
4246 draft : true
43- files : ' /tmp/ndk_sysroot.tar.xz'
47+ files : |
48+ /tmp/ndk_sysroot.tar.xz
49+ /tmp/android_compiler-rt.tar.xz
4450 fail_on_unmatched_files : true
You can’t perform that action at this time.
0 commit comments