-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2822cef
commit 9068815
Showing
1 changed file
with
111 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
name: Android CI | ||
|
||
on: | ||
|
||
pull_request: | ||
|
||
branches-ignore: | ||
|
||
- '' | ||
|
||
push: | ||
|
||
branches-ignore: | ||
|
||
- '' | ||
|
||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-22.04 | ||
|
||
env: | ||
|
||
GPLAY_KEYSTORE_PASSWORD: ${{ secrets.GPLAY_KEYSTORE_PASSWORD }} | ||
|
||
steps: | ||
|
||
- name: Checkout | ||
|
||
uses: actions/checkout@v3 | ||
|
||
- name: Get JRE 8 | ||
|
||
uses: dawidd6/action-download-artifact@v2 | ||
|
||
with: | ||
|
||
workflow: build.yml | ||
|
||
path: app_pojavlauncher/src/main/assets/components/jre | ||
|
||
workflow_conclusion: success | ||
|
||
repo: PojavLauncherTeam/android-openjdk-build-multiarch | ||
|
||
branch: buildjre8 | ||
|
||
name: jre8-pojav | ||
|
||
- name: Get JRE17 | ||
|
||
uses: dawidd6/action-download-artifact@v2 | ||
|
||
with: | ||
|
||
workflow: build.yml | ||
|
||
path: app_pojavlauncher/src/main/assets/components/jre-new | ||
|
||
workflow_conclusion: success | ||
|
||
repo: PojavLauncherTeam/android-openjdk-build-multiarch | ||
|
||
branch: buildjre17 | ||
|
||
name: jre17-pojav | ||
|
||
- uses: gradle/gradle-build-action@v2 | ||
|
||
with: | ||
|
||
gradle-version: 7.6.1 | ||
|
||
- name: Build JRE JAR files | ||
run: | | ||
# Build JRE JAR files (security manager, etc...) | ||
gradle :jre_lwjgl3glfw:build --no-daemon | ||
- name: Set up JDK 17 | ||
|
||
uses: actions/setup-java@v3 | ||
|
||
with: | ||
|
||
distribution: 'temurin' | ||
|
||
java-version: '17' | ||
|
||
- name: Bild Debug.apk | ||
|
||
run: | | ||
# Build the launcher | ||
gradle :app_pojavlauncher:assembleDebug | ||
- name: Upload APK | ||
|
||
uses: actions/upload-artifact@v3 | ||
|
||
with: | ||
|
||
name: app-debug-release | ||
|
||
path: app_pojavlauncher/build/outputs/apk/debug/* | ||
|