File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Android Build Test
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+ pull_request :
7+ branches : [ main ]
8+ workflow_dispatch :
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+
14+ env :
15+ BUILD_TYPE : Release
16+ ANDROID_PLATFORM : android-21
17+ ANDROID_NDK : ${{ github.workspace }}/android-ndk
18+
19+ steps :
20+ - name : Checkout repository
21+ uses : actions/checkout@v4
22+
23+ - name : Set up Java (required for some Android tools)
24+ uses : actions/setup-java@v4
25+ with :
26+ java-version : ' 17'
27+ distribution : ' temurin'
28+
29+ - name : Install Android NDK
30+ run : |
31+ sudo apt-get update
32+ sudo apt-get install -y unzip wget
33+ NDK_VERSION=r26c
34+ wget https://dl.google.com/android/repository/android-ndk-${NDK_VERSION}-linux.zip
35+ unzip android-ndk-${NDK_VERSION}-linux.zip -d ${{ github.workspace }}
36+ mv ${{ github.workspace }}/android-ndk-${NDK_VERSION} $ANDROID_NDK
37+
38+ - name : Install CMake & Ninja
39+ run : |
40+ sudo apt-get install -y cmake ninja-build
41+
42+ - name : Make build script executable
43+ run : chmod +x build.sh
44+
45+ - name : Run full build
46+ run : ./build.sh all
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments