Skip to content

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 KaotoIO#416

Signed-off-by: Aurélien Pupier <[email protected]>
  • Loading branch information
apupier committed Jan 23, 2023
1 parent 27128d7 commit 4e1073f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
minimum-size: 16GB
if: ${{ matrix.os == 'windows-latest' }}
- name: 🤳 Run native tests
run: mvn install -Pnative
- name: Archive Quarkus log for native tests
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
minimum-size: 16GB
if: ${{ matrix.os == 'windows-latest' }}
- name: 🤳 Build Native Quarkus
run: mvn install -Pnative -DskipTests
- name: 🛂 Find the version - non-Windows
Expand All @@ -47,7 +52,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 4e1073f

Please sign in to comment.