This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
name: Verify source and build Android
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: read
|
||||
jobs:
|
||||
android:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-java@v4
|
||||
with:
|
||||
distribution: temurin
|
||||
java-version: '17'
|
||||
- uses: android-actions/setup-android@v3
|
||||
- name: Install pinned SDK components
|
||||
run: sdkmanager 'platforms;android-36' 'build-tools;35.0.0' 'platform-tools'
|
||||
- name: Bootstrap verified wrapper and build
|
||||
run: |
|
||||
chmod +x gradlew scripts/*.sh
|
||||
./scripts/verify-android.sh
|
||||
- name: Preserve APK and verification reports
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: android-debug-and-reports
|
||||
path: |
|
||||
androidApp/build/outputs/apk/debug/*.apk
|
||||
androidApp/build/reports/
|
||||
core/build/reports/tests/
|
||||
platform-jvm/build/reports/tests/
|
||||
Reference in New Issue
Block a user