-
Notifications
You must be signed in to change notification settings - Fork 102
46 lines (37 loc) · 1.33 KB
/
Android.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
34
35
36
37
38
39
40
41
42
43
44
45
46
# Temporarily disabled because google once again changed the build process and broke builds that worked previously
#
# Will be fixed later...
#org.gradle.process.internal.ExecException: A problem occurred starting process
# 'command '/usr/local/lib/android/sdk/ndk-bundle/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android-strip''
name: Android
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'temurin'
# - name: Setup interactive tmate session
# uses: mxschmitt/action-tmate@v3
- name: invoke cmake to create gradle / android studio project
# This will create the project
# build_android/hello_imgui_demodocking_AndroidStudio
run: |
export ANDROID_HOME=/usr/local/lib/android/sdk
mkdir build_android
cd build_android
../tools/android/cmake_arm-android.sh ..
- name: gradlew build
# This will build for all android architectures
run: |
export ANDROID_HOME=/usr/local/lib/android/sdk
cd build_android/hello_imgui_demodocking_AndroidStudio
./gradlew build