-
Notifications
You must be signed in to change notification settings - Fork 33
37 lines (31 loc) · 964 Bytes
/
android-ci.yml
File metadata and controls
37 lines (31 loc) · 964 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
name: Android CI
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
# https://github.com/actions/checkout
- uses: actions/checkout@v6
# region [Android SDK]
# https://github.com/android-actions/setup-android
- name: Setup Android SDK
uses: android-actions/setup-android@v4
with:
packages: ''
# https://developer.android.com/tools/sdkmanager#install
# https://github.com/imknown/AndroidLowLevelDetector/blob/develop/gradle/toml/build.toml
- name: Install Android SDK Cmake
run: sdkmanager --install "cmake;4.1.2"
- name: Install Android SDK NDK
# https://github.com/android/ndk/releases
run: sdkmanager --install "ndk;30.0.14904198"
# endregion [Android SDK]
# region [Gradle]
- name: Build with Gradle
run: ./gradlew assembleFossDebug
# endregion [Gradle]