-
Notifications
You must be signed in to change notification settings - Fork 22
34 lines (27 loc) · 1022 Bytes
/
build.yml
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
33
34
name: Build
on:
pull_request:
push:
branches: [ main ]
jobs:
build:
runs-on: macos-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
lfs: 'true'
- name: Check LFS file (install git lfs and commit screenshots again if failing)
run: git lfs fsck --pointers
- name: set up JDK 18
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 18
- name: Setup Android SDK
uses: android-actions/setup-android@v3
- name: Accept Licences
run: echo y | sdkmanager --licenses
- name: Generate Baseline Profile
run: ./gradlew :catalog:generateReleaseBaselineProfile :icons:generateBaselineProfile :illustrations:generateBaselineProfile :ui:generateBaselineProfile -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=baselineprofile -Pandroid.testoptions.manageddevices.emulator.gpu=swiftshader_indirect --stacktrace