Skip to content

Commit

Permalink
what just happened
Browse files Browse the repository at this point in the history
  • Loading branch information
maxded committed Oct 24, 2024
1 parent c2ef7af commit 8d98ab9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
NDK_VERSION=$(basename $ANDROID_NDK_LATEST_HOME)
echo "ANDROID_NDK_LATEST_HOME=$ANDROID_NDK_LATEST_HOME"
echo "ANDROID_NDK_VERSION=$NDK_VERSION"
echo "ANDROID_NDK_VERSION=$(basename $ANDROID_NDK_LATEST_HOME)"
echo "CLANG_VERSION=$CLANG_VERSION"
mkdir -p $NDK_VERSION && cd $NDK_VERSION
mkdir -p Android.ndk && cd Android.ndk
cp -r $TOOLCHAIN/sysroot/usr ./usr
cp -r $CLANG/lib/linux/aarch64/* ./usr/lib/aarch64-linux-android/
Expand All @@ -33,9 +33,7 @@ jobs:
echo "INPUT(-lunwind)" > ./usr/lib/arm-linux-androideabi/libgcc.a
echo "INPUT(-lunwind)" > ./usr/lib/x86_64-linux-android/libgcc.a
echo "INPUT(-lunwind)" > ./usr/lib/i686-linux-android/libgcc.a
- run: |
NDK_VERSION=$(basename $ANDROID_NDK_LATEST_HOME)
tar --zstd -cf Android.ndk.tar.zst $NDK_VERSION
- run: tar --zstd -cf Android.ndk.tar.zst Android.ndk
- run: gh release upload $TAG Android.ndk.tar.zst -R Traverse-Research/xbuild
env:
GITHUB_TOKEN: ${{ secrets.XBUILD_SECRET }}
Expand Down

0 comments on commit 8d98ab9

Please sign in to comment.