From cc07a0694b4a003834e4871d62f731d137b489a8 Mon Sep 17 00:00:00 2001 From: Houssem Ben Ali Date: Wed, 8 Nov 2023 11:29:56 +0100 Subject: [PATCH 1/3] PoC: Test Partial Build with GHA --- .github/workflows/buildci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/buildci.yml b/.github/workflows/buildci.yml index 1c31433d0..63bdd1143 100644 --- a/.github/workflows/buildci.yml +++ b/.github/workflows/buildci.yml @@ -4,7 +4,7 @@ on: jobs: build-ci: name: CI Build - uses: exoplatform/swf-scripts/.github/workflows/cibuild.yml@master + uses: exoplatform/swf-scripts/.github/workflows/cibuild.yml@partial with: maven_profiles: 'exo-release,coverage' secrets: From 42d6b64f8b4c74728be463b9ee7822b080c5146a Mon Sep 17 00:00:00 2001 From: Houssem Ben Ali Date: Wed, 8 Nov 2023 11:35:53 +0100 Subject: [PATCH 2/3] Add more heap --- .github/workflows/buildci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/buildci.yml b/.github/workflows/buildci.yml index 63bdd1143..6cefd35af 100644 --- a/.github/workflows/buildci.yml +++ b/.github/workflows/buildci.yml @@ -7,6 +7,7 @@ jobs: uses: exoplatform/swf-scripts/.github/workflows/cibuild.yml@partial with: maven_profiles: 'exo-release,coverage' + extra_maven_opts: -Xms1G -Xmx2G -XX:MaxMetaspaceSize=1G secrets: NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} \ No newline at end of file From 6f7fa7aa621b0da56e506cff16024815390fc10a Mon Sep 17 00:00:00 2001 From: Houssem Ben Ali Date: Wed, 8 Nov 2023 13:04:01 +0100 Subject: [PATCH 3/3] Test --- .github/workflows/buildci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/buildci.yml b/.github/workflows/buildci.yml index 6cefd35af..e18590201 100644 --- a/.github/workflows/buildci.yml +++ b/.github/workflows/buildci.yml @@ -7,7 +7,7 @@ jobs: uses: exoplatform/swf-scripts/.github/workflows/cibuild.yml@partial with: maven_profiles: 'exo-release,coverage' - extra_maven_opts: -Xms1G -Xmx2G -XX:MaxMetaspaceSize=1G + maximize_build_space: true secrets: NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }} NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }} \ No newline at end of file