-
-
Notifications
You must be signed in to change notification settings - Fork 48
33 lines (29 loc) · 934 Bytes
/
android-ndk.yml
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
name: Build test Android
on:
push:
branches:
- develop
- master
pull_request:
schedule:
- cron: '0 0 1 * *'
jobs:
Linux:
name: Android
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
configuration: [error_code, status_code]
env:
NAME: Android-${{ matrix.configuration }}
steps:
- uses: actions/checkout@v4
- name: CMake tests Linux
shell: bash
run: |
export CMAKE_CONFIGURE_OPTIONS="-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK/build/cmake/android.toolchain.cmake;-DANDROID_PLATFORM=28;-DCMAKE_CXX_STANDARD=20"
if [ "${{ matrix.configuration }}" = "status_code" ]; then
export CMAKE_CONFIGURE_OPTIONS="$CMAKE_CONFIGURE_OPTIONS;-DLLFIO_USE_EXPERIMENTAL_SG14_STATUS_CODE=ON";
fi
ctest -S .ci.cmake -VV --timeout 900 -DCTEST_DISABLE_TESTING=1 "-DCTEST_CONFIGURE_OPTIONS=$CMAKE_CONFIGURE_OPTIONS";