File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change 8989 with :
9090 name : caveexpress
9191 path : build/caveexpress-install
92+
93+ android :
94+ runs-on : ubuntu-latest
95+ steps :
96+ - uses : actions/checkout@v4
97+ - uses : seanmiddleditch/gha-setup-ninja@master
98+ - uses : nttld/setup-ndk@v1
99+ id : setup-ndk
100+ with :
101+ local-cache : true
102+ ndk-version : r21e
103+ - uses : actions/setup-java@v4
104+ with :
105+ distribution : ' zulu'
106+ java-version : ' 8'
107+ - name : ' Configure Android NDK variables'
108+ shell : sh
109+ run : |
110+ # We cannot use GitHub expressions in the controller job
111+ echo "ANDROID_NDK_HOME=${{ steps.setup-ndk.outputs.ndk-path }}" >>$GITHUB_ENV
112+
113+ - name : Build
114+ run : |
115+ mkdir build
116+ cd build
117+ cmake --version
118+ cmake .. -DCMAKE_BUILD_TYPE=Release -DTOOLS=OFF -DUNITTESTS=OFF -DCMAKE_TOOLCHAIN_FILE=$DIR/../../cmake/toolchains/android-toolchain.cmake
119+ cmake --build .
You can’t perform that action at this time.
0 commit comments