-
Notifications
You must be signed in to change notification settings - Fork 23
32 lines (24 loc) · 784 Bytes
/
Copy pathandroid.yml
File metadata and controls
32 lines (24 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Android Build CI
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.3
- name: Set up JDK 17
uses: actions/setup-java@v5.2.0
with:
distribution: temurin
java-version: "17"
cache: gradle
- name: Set up Android SDK
uses: android-actions/setup-android@v4.0.1
- name: Install Android 17 SDK
run: sdkmanager "platforms;android-37.0" "build-tools;37.0.0"
- name: Grant execute permission for gradlew
run: chmod +x gradlew scripts/verify-compatibility.sh
- name: Build all modules
run: ./gradlew build --no-daemon
- name: Run Android 17 trace regression
run: ./scripts/verify-compatibility.sh