1
0
mirror of https://github.com/PurpleI2P/i2pd-android.git synced 2025-01-26 06:25:18 +00:00

31 lines
695 B
YAML
Raw Normal View History

name: Android CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
2020-10-15 05:38:04 +03:00
submodules: 'recursive'
2020-10-15 05:07:48 +03:00
- name: Setup JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Setup Android SDK
2020-10-15 05:38:04 +03:00
uses: maxim-lobanov/setup-android-tools@v1
with:
packages: |
2020-10-15 05:42:05 +03:00
build-tools;28.0.3
2020-10-15 05:45:09 +03:00
platforms;android-29
2020-10-15 06:13:17 +03:00
ndk;20.0.5594570
2020-10-15 05:38:04 +03:00
cache: true
- name: Build with Gradle
2020-10-15 05:38:04 +03:00
run: ./gradlew --no-daemon assembleDebug
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
path: app/build/outputs/apk/debug/*.apk