Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Commit

Permalink
chore Increase PageSize for Windows GitHub Workflows doing native
Browse files Browse the repository at this point in the history
compilation

Following workaround mentioned here
actions/runner-images#3420 (comment)
to the `LINK : fatal error LNK1171: unable to load mspdbcore.dll (error
code: 1455)` error

fixes #416

Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier authored and Delawen committed Jan 23, 2023
1 parent 27128d7 commit f4adaf6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: configure Pagefile
uses: al-cheb/[email protected]
with:
minimum-size: 16GB
disk-root: "C:"
if: ${{ matrix.os == 'windows-latest' }}
- name: 🤳 Run native tests
run: mvn install -Pnative
- name: Archive Quarkus log for native tests
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: configure Pagefile
uses: al-cheb/[email protected]
with:
minimum-size: 16GB
disk-root: "C:"
if: ${{ matrix.os == 'windows-latest' }}
- name: 🤳 Build Native Quarkus
run: mvn install -Pnative -DskipTests
- name: 🛂 Find the version - non-Windows
Expand All @@ -47,7 +53,7 @@ jobs:
run: |
$version = & mvn help:evaluate "-Dexpression=project.version" -q -DforceStdout
echo "version=$version" >> $env:GITHUB_ENV
if: ${{ matrix.os == 'windows-latest' }}}
if: ${{ matrix.os == 'windows-latest' }}
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
Expand Down

0 comments on commit f4adaf6

Please sign in to comment.