From 76da33646e63335b7b70c513f08fb90be740266d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bo=C5=99ek=20Leikep?= Date: Fri, 6 Oct 2023 15:49:31 +0200 Subject: [PATCH] testing ci --- .github/workflows/build.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1375f4eed..623903eb2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: macos-latest permissions: contents: write steps: @@ -24,6 +24,15 @@ jobs: distribution: 'zulu' java-version: 18 + - name: Setup Android SDK + uses: android-actions/setup-android@v2 + + - name: Generate Baseline Profile + run: | + echo y | sdkmanager "system-images;android-34;google_apis;x86_64" + echo y | sdkmanager emulator + ./gradlew :catalog:generateReleaseBaselineProfile :icons:generateBaselineProfile :illustrations:generateBaselineProfile :ui:generateBaselineProfile -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=baselineprofile -Dorg.gradle.workers.max=1 + - name: ktlint run: ./gradlew lintKotlin