Merge pull request #142 from yuxianzhi/patch-31 #235
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: linux-android-x86_64 | |
| on: [push, pull_request] | |
| jobs: | |
| linux: | |
| name: linux-android-x86_64 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: checkout code | |
| uses: actions/checkout@v2 | |
| - name: compile android x86_64 on linux | |
| run: | | |
| mkdir android_ndk && cd android_ndk | |
| wget https://dl.google.com/android/repository/android-ndk-r20b-linux-x86_64.zip > /dev/null | |
| unzip -o android-ndk-r20b-linux-x86_64.zip > /dev/null | |
| export ANDROID_NDK_ROOT=${PWD}/android-ndk-r20b | |
| export PATH=${ANDROID_NDK_ROOT}/toolchains/llvm/prebuilt/linux-x86_64/bin:$PATH | |
| cd .. | |
| chmod +x install.sh | |
| ./install.sh --target=android-x86_64 |