mirror of
https://github.com/AngelAuraMC/angelauramc-openjdk-build.git
synced 2025-09-13 22:26:09 -04:00
Feat: setup ndk separated
This commit is contained in:
parent
c60148a285
commit
5bdae2f735
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -74,7 +74,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Setup ndk
|
||||
run: bash ""
|
||||
run: bash "setupndk.sh"
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Get jre17-aarch32
|
||||
|
@ -8,9 +8,7 @@ if [ "$BUILD_IOS" != "1" ]; then
|
||||
sudo apt update
|
||||
sudo apt -y install autoconf python unzip zip
|
||||
|
||||
wget -nc -nv -O android-ndk-$NDK_VERSION-linux-x86_64.zip "https://dl.google.com/android/repository/android-ndk-$NDK_VERSION-linux-x86_64.zip"
|
||||
./extractndk.sh
|
||||
./maketoolchain.sh
|
||||
./setupndk.sh
|
||||
else
|
||||
chmod +x ios-arm64-clang
|
||||
chmod +x ios-arm64-clang++
|
||||
|
@ -1,2 +0,0 @@
|
||||
#!/bin/sh
|
||||
unzip -q android-ndk-$NDK_VERSION-linux-x86_64.zip
|
9
setupndk.sh
Normal file
9
setupndk.sh
Normal file
@ -0,0 +1,9 @@
|
||||
set -e
|
||||
|
||||
#Setup the ndk according to the selected version
|
||||
|
||||
wget -nc -nv -O android-ndk-$NDK_VERSION-linux-x86_64.zip "https://dl.google.com/android/repository/android-ndk-$NDK_VERSION-linux-x86_64.zip"
|
||||
|
||||
unzip -q android-ndk-$NDK_VERSION-linux-x86_64.zip
|
||||
|
||||
./maketoolchain.sh
|
Loading…
x
Reference in New Issue
Block a user