2020-09-20 22:39:54 +08:00
|
|
|
name: Build check
|
|
|
|
on: [push, pull_request]
|
2020-08-16 04:44:46 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Clone repo
|
|
|
|
uses: actions/checkout@v2
|
2020-09-20 22:39:54 +08:00
|
|
|
|
|
|
|
- name: Validate Gradle Wrapper
|
|
|
|
uses: gradle/wrapper-validation-action@v1
|
|
|
|
|
2020-08-16 04:44:46 +08:00
|
|
|
- name: Set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
|
|
|
- name: Install NDK
|
2020-09-20 22:39:54 +08:00
|
|
|
run: sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669" &> /dev/null
|
|
|
|
|
|
|
|
- name: Build app
|
|
|
|
run: ./gradlew assembleStandardDebug
|