From b2fc9294b9adfc3cc124ee1db46ea3a084e40661 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov <1517853+kpavlov@users.noreply.github.com> Date: Thu, 11 Sep 2025 14:25:54 +0300 Subject: [PATCH] Update build workflow to use larger macOS runner and set Java options - Switch `runs-on` to `macos-latest-xlarge` for additional resources. - Add `JAVA_OPTS` environment variable for optimized memory and encoding settings during Gradle builds. --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0b3f2d8c..a3e272544 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ concurrency: jobs: validate-pr: - runs-on: macos-latest + runs-on: macos-latest-xlarge name: Validate PR steps: - uses: actions/checkout@v5 @@ -33,6 +33,8 @@ jobs: - name: Build with Gradle run: ./gradlew clean ktlintCheck build koverLog koverHtmlReport + env: + JAVA_OPTS: "-Xmx8g -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Dkotlin.daemon.jvm.options=-Xmx6g" - name: Upload Reports if: always()