Build gl4es #24
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 gl4es | |
| on: [workflow_dispatch] | |
| jobs: | |
| build-android: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - uses: actions/checkout@main | |
| - name: Build Shaderconv | |
| run: | | |
| # wget https://dl.google.com/android/repository/android-ndk-r26d-linux.zip | |
| # unzip android-ndk-r26d-linux.zip >> /dev/null | |
| cd ./src/main/cpp | |
| $ANDROID_NDK_LATEST_HOME/ndk-build APP_PLATFORM=android-26 APP_ABI=arm64-v8a APP_BUILD_SCRIPT=./Android.mk NDK_APPLICATION_MK=./Application.mk NDK_PROJECT_PATH=. | |
| $ANDROID_NDK_LATEST_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-strip libs/arm64-v8a/libshaderconv.so | |
| - name: Upload shaderconv libs | |
| uses: actions/upload-artifact@main | |
| with: | |
| name: shaderconv | |
| path: src/main/cpp/libs/**/*.so |