You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
name: Android CI
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
path: app/build/outputs/apk/debug/*.apk
|
|
|
|
- name: Setup JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
|
|
|
|
|
|
|
- name: Setup Android SDK
|
|
|
|
uses: android-actions/setup-android@v2
|
|
|
|
|
|
|
|
- uses: nttld/setup-ndk@v1
|
|
|
|
with:
|
|
|
|
ndk-version: r19c
|
|
|
|
|
|
|
|
- name: Build with Gradle
|
|
|
|
run: ./gradlew assembleDebug
|
|
|
|
|