From 1b4fbe8d2523d0ed972d64dce0e003ae2d756e99 Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Mon, 26 Oct 2026 16:40:46 +0600 Subject: [PATCH] chore: update changelog for 6.0.0-beta.0 and optimize Gradle build settings --- .github/workflows/spotube-release-binary.yml | 11 ++++++++++- CHANGELOG.md | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/spotube-release-binary.yml b/.github/workflows/spotube-release-binary.yml index e612fa07..80b44c2b 100644 --- a/.github/workflows/spotube-release-binary.yml +++ b/.github/workflows/spotube-release-binary.yml @@ -486,7 +486,16 @@ jobs: env: # Nucleus lists GraalVM CE releases via the GitHub API; unauthenticated calls hit the 60/hour limit GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: ./gradlew :composeApp:packageGraalvmDmg -Pnightly=${{ inputs.release_type == 'nightly' }} -PbuildNumber=${{ github.run_number }} + # The free macOS runner has 3 cores / 7 GB. With the default 4g Gradle + 3g Kotlin daemons idling, + # native-image only gets ~3 GB and spends ~40% of its time in GC (47 min build vs ~15 on Linux). + # A single-use daemon with a smaller heap and in-process Kotlin compilation leaves the RAM to it. + run: > + ./gradlew :composeApp:packageGraalvmDmg + --no-daemon + -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxMetaspaceSize=1g" + -Pkotlin.compiler.execution.strategy=in-process + -Pnightly=${{ inputs.release_type == 'nightly' }} + -PbuildNumber=${{ github.run_number }} - name: Rename macOS artifact run: | diff --git a/CHANGELOG.md b/CHANGELOG.md index 995442b6..5bfa5a20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## [6.0.0](https://github.com/team-spotube/spotube/compare/v5.1.2...v6.0.0) (2026-10-26) +## [6.0.0-beta.0](https://github.com/team-spotube/spotube/compare/v5.1.2...v6.0.0-beta.0) (2026-10-26) ### Features