From 3166859ca1f883a095aee7e0433b6a9a64a47659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Pupier?= Date: Mon, 23 Jan 2023 10:57:28 +0100 Subject: [PATCH] chore Increase PageSize for Windows GitHub Workflows doing native compilation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Following workaround mentioned here https://github.com/actions/runner-images/issues/3420#issuecomment-869781756 to the `LINK : fatal error LNK1171: unable to load mspdbcore.dll (error code: 1455)` error fixes #416 Signed-off-by: Aurélien Pupier --- .github/workflows/analysis.yml | 5 +++++ .github/workflows/publish-release.yml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/.github/workflows/analysis.yml b/.github/workflows/analysis.yml index 627e067ca..93a8a68b8 100644 --- a/.github/workflows/analysis.yml +++ b/.github/workflows/analysis.yml @@ -67,6 +67,11 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 + - name: configure Pagefile + uses: al-cheb/configure-pagefile-action@v1.2 + with: + minimum-size: 16GB + if: ${{ matrix.os == 'windows-latest' }}} - name: 🤳 Run native tests run: mvn install -Pnative - name: Archive Quarkus log for native tests diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 82b0d572e..02b7c6b81 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -38,6 +38,11 @@ jobs: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} restore-keys: ${{ runner.os }}-m2 + - name: configure Pagefile + uses: al-cheb/configure-pagefile-action@v1.2 + with: + minimum-size: 16GB + if: ${{ matrix.os == 'windows-latest' }}} - name: 🤳 Build Native Quarkus run: mvn install -Pnative -DskipTests - name: 🛂 Find the version - non-Windows