Update Android libraries and scripts, support Android 15 and 16 #12
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Android libraries | |
| on: | |
| push: | |
| branches-ignore: | |
| - gh-readonly-queue/** | |
| pull_request: | |
| merge_group: | |
| workflow_dispatch: | |
| jobs: | |
| build-libraries-android: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Prepare Linux | |
| run: | | |
| sudo apt-get update -y | |
| sudo apt-get install autoconf automake cmake libtool m4 ninja-build | |
| export M4=/usr/bin/m4 | |
| which m4 | |
| m4 --version | |
| scripts/android/download_android_sdk.sh /home/runner | |
| - name: Build Android libraries | |
| run: | | |
| export M4=/usr/bin/m4 | |
| scripts/compile_libs/gen_libs.sh build-android-libs android | |
| - name: Upload Artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: ddnet-libs-android | |
| path: build-android-libs/ddnet-libs |