From 30ae078404cb650250d0ea99810f327d023f2a57 Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Fri, 20 Dec 2024 10:32:33 +0100 Subject: [PATCH 1/2] Fix CI workflow OOM Don't change the start directory with `-p :build-logic` which makes Gradle look for `build-logic/gradle.properties` file that does not exist. Therefore, the heap size was configured with default values (`-Xmx512m`) which is definitely not enough for our linting. Fixes #1769 --- .github/workflows/Build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Build.yaml b/.github/workflows/Build.yaml index e090e2155..cb7148ce7 100644 --- a/.github/workflows/Build.yaml +++ b/.github/workflows/Build.yaml @@ -52,7 +52,7 @@ jobs: run: yes | sdkmanager --licenses || true - name: Check build-logic - run: ./gradlew check -p build-logic + run: ./gradlew :build-logic:convention:check - name: Check spotless run: ./gradlew spotlessCheck --init-script gradle/init.gradle.kts --no-configuration-cache From 69b77cf783deb6a2bcddafc2c66aa96ea50af7e0 Mon Sep 17 00:00:00 2001 From: Simon Marquis Date: Fri, 20 Dec 2024 10:34:56 +0100 Subject: [PATCH 2/2] Update NightlyBaselineProfiles.yaml --- .github/workflows/NightlyBaselineProfiles.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/NightlyBaselineProfiles.yaml b/.github/workflows/NightlyBaselineProfiles.yaml index de626b0a5..cc48ff9c9 100644 --- a/.github/workflows/NightlyBaselineProfiles.yaml +++ b/.github/workflows/NightlyBaselineProfiles.yaml @@ -44,7 +44,7 @@ jobs: run: yes | sdkmanager --licenses || true - name: Check build-logic - run: ./gradlew check -p build-logic + run: ./gradlew :build-logic:convention:check - name: Setup GMD run: ./gradlew :benchmarks:pixel6Api33Setup @@ -57,4 +57,4 @@ jobs: run: ./gradlew :app:generateReleaseBaselineProfile -Pandroid.testInstrumentationRunnerArguments.androidx.benchmark.enabledRules=baselineprofile -Pandroid.testoptions.manageddevices.emulator.gpu="swiftshader_indirect" - --stacktrace \ No newline at end of file + --stacktrace