Set up Android CI

This commit is contained in:
Chris Renshaw
2023-12-01 21:20:10 -04:00
committed by osm0sis
parent 5464ec90fe
commit c94d0e858f
2 changed files with 39 additions and 1 deletions

38
.github/workflows/android.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: Android CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4
with:
submodules: "recursive"
fetch-depth: 0
- name: set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
cache: gradle
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew assembleRelease
- name: Create PlayIntegrityFix zip
uses: actions/upload-artifact@v3
with:
name: PlayIntegrityFix
path: out/PlayIntegrityFix.zip

2
.gitmodules vendored
View File

@@ -1,3 +1,3 @@
[submodule "app/src/main/cpp/libcxx"]
[submodule "libcxx"]
path = app/src/main/cpp/libcxx
url = https://github.com/topjohnwu/libcxx.git