Skip to content

Commit

Permalink
Try to use smaller build tools download
Browse files Browse the repository at this point in the history
  • Loading branch information
UnknownShadow200 committed Feb 24, 2024
1 parent f512203 commit 2fbde7f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build_android2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ jobs:
DROID_FLAGS="-fPIC -shared -s -O1 -fvisibility=hidden -rdynamic -funwind-tables"
DROID_LIBS="-lGLESv2 -lEGL -lm -landroid -llog"
ROOT_DIR=$PWD
NDK_ROOT="/opt/android-sdk-linux/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin"
TOOLS_ROOT="/opt/android-sdk-linux/build-tools/26.0.0"
TOOLS_ROOT=$ROOT_DIR/build-tools
SDK_ROOT="/opt/android-sdk-linux/platforms/android-34"
ROOT_DIR=$PWD
sdkmanager --list
sdkmanager "build-tools;26.0.0"
mkdir build-tools
wget https://github.com/ClassiCube/rpi-compiling-stuff/raw/main/build-tools.zip
unzip build-tools.zip -d build-tools
cd $ROOT_DIR/src
$NDK_ROOT/armv7a-linux-androideabi19-clang *.c $DROID_FLAGS -march=armv5 $DROID_LIBS $LATEST_FLAG -o cc-droid-arm_16
Expand Down

0 comments on commit 2fbde7f

Please sign in to comment.