android build

This commit is contained in:
Infactum
2020-09-11 00:10:44 +03:00
committed by GitHub
parent 45f36dfe96
commit ca5462cdee
2 changed files with 25 additions and 1 deletions
@@ -1,4 +1,4 @@
name: CI
name: Desktop CI
on: [push, pull_request]
+24
View File
@@ -0,0 +1,24 @@
name: Mobile CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
abi: [x86, x86_64, armeabi-v7a, arm64-v8a]
steps:
- uses: actions/checkout@v2
- uses: lukka/run-cmake@v2
id: runcmake_cmd
with:
buildDirectory: ${{ runner.workspace }}/build
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
cmakeAppendedArgs:
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_SDK_ROOT}/ndk-bundle/build/cmake/android.toolchain.cmake
-DANDROID_ABI=${{ matrix.abi }}
-DANDROID_NATIVE_API_LEVEL=16
-DCMAKE_BUILD_TYPE=Release