2019-11-13 20:49:22 +00:00
|
|
|
name: Android CI
|
|
|
|
|
2020-03-19 14:03:42 +00:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
- '4.**'
|
2019-11-13 20:49:22 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
2020-05-01 18:20:35 +00:00
|
|
|
|
2019-11-13 20:49:22 +00:00
|
|
|
- name: set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
2020-05-01 18:20:35 +00:00
|
|
|
|
|
|
|
- name: Install NDK
|
|
|
|
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT}
|
|
|
|
|
2020-01-15 20:40:01 +00:00
|
|
|
- name: Validate Gradle Wrapper
|
|
|
|
uses: gradle/wrapper-validation-action@v1
|
2020-05-01 18:20:35 +00:00
|
|
|
|
2019-11-13 20:49:22 +00:00
|
|
|
- name: Build with Gradle
|
|
|
|
run: ./gradlew qa
|