CI: switch to Github Actions

This commit is contained in:
Leonid Plyushch 2020-02-07 13:47:22 +02:00
parent 36db64d585
commit f928efed4e
No known key found for this signature in database
GPG key ID: 45F2964132545795
2 changed files with 18 additions and 20 deletions

View file

@ -1,20 +0,0 @@
container:
image: cirrusci/android-sdk:28
cpu: 2
memory: 8G
task:
name: tests
script: ./gradlew test
task:
name: debug-build
depends_on:
- tests
script: |
./gradlew assembleDebug
output_artifacts:
path: "./app/build/outputs/apk/debug/*.apk"

18
.github/workflows/debug_build.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: Termux application debug build
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v2
- name: Build
run: |
./gradlew assembleDebug
- name: Store generated APK file
uses: actions/upload-artifact@v1
with:
name: termux-app
path: ./app/build/outputs/apk/debug/app-debug.apk