mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-11-24 20:25:14 +00:00
replaced Travis with GitHub Actions
This commit is contained in:
parent
4bdc106afe
commit
ca876e2894
2 changed files with 34 additions and 15 deletions
34
.github/workflows/debug.yml
vendored
Normal file
34
.github/workflows/debug.yml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
name: Debug APK Builder
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- name: JDK 8 Setup
|
||||||
|
uses: actions/setup-java@v1
|
||||||
|
with:
|
||||||
|
java-version: 1.8
|
||||||
|
|
||||||
|
- name: Grant rights
|
||||||
|
run: chmod +x ./gradlew
|
||||||
|
|
||||||
|
- name: Build project
|
||||||
|
run: ./gradlew build
|
||||||
|
|
||||||
|
- name: Build APK
|
||||||
|
run: ./gradlew assembleDebug
|
||||||
|
|
||||||
|
- name: Upload to Artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: 'MicroG'
|
||||||
|
path: play-services-core/build/outputs/apk/debug/play-services-core-debug.apk
|
15
.travis.yml
15
.travis.yml
|
@ -1,15 +0,0 @@
|
||||||
language: android
|
|
||||||
sudo: false
|
|
||||||
script:
|
|
||||||
- jdk_switcher use oraclejdk8
|
|
||||||
- echo sdk.dir $ANDROID_HOME > local.properties
|
|
||||||
- export TERM=dumb
|
|
||||||
- export JAVA_OPTS="-XX:+CMSClassUnloadingEnabled -XX:+HeapDumpOnOutOfMemoryError -Xmx2048m"
|
|
||||||
- ./gradlew --stacktrace assemble
|
|
||||||
android:
|
|
||||||
components:
|
|
||||||
- tools
|
|
||||||
- platform-tools
|
|
||||||
- build-tools-29.0.3
|
|
||||||
- android-29
|
|
||||||
- extra-android-m2repository
|
|
Loading…
Reference in a new issue