-
Notifications
You must be signed in to change notification settings - Fork 134
38 lines (34 loc) · 1004 Bytes
/
ci-android.yml
File metadata and controls
38 lines (34 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: ci-android
env:
CI: GITHUB
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
on: [push]
jobs:
ci-job:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
ndk: [r26d, r27c]
target: [arm64-v8a, "armeabi-v7a with NEON", x86_64]
build-type: [Debug, Release]
os: [ubuntu-latest]
exclude:
- ndk: r26d
build-type: Debug
steps:
- uses: actions/checkout@v4
- uses: nttld/setup-ndk@v1
id: setup-ndk
with:
ndk-version: ${{ matrix.ndk }}
add-to-path: true
- name: ci-step
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
CI_MAKE_TARGET: ""
shell: bash
run: |
. ci.sh "-DANDROID_ABI=${{ matrix.target }}|-DCMAKE_TOOLCHAIN_FILE:PATH=${{ steps.setup-ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake|-DCMAKE_BUILD_TYPE=${{ matrix.build-type }}"