Skip to content

Commit

Permalink
try to avoid CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
guizmaii committed Jul 16, 2023
1 parent 62c9ccc commit bd9e485
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ jobs:
- uses: olafurpg/setup-scala@v13
with:
java-version: "adopt@1.${{ matrix.java }}"
- name: Use CI sbt jvmopts
shell: bash
run: |
mv .jvmopts-ci .jvmopts
cat .jvmopts
- name: Setup Windows C++ toolchain
uses: ilammy/msvc-dev-cmd@v1
if: ${{ matrix.os == 'windows-latest' }}
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ jobs:
distribution: temurin
java-version: 8
cache: sbt
- name: Use CI sbt jvmopts
shell: bash
run: |
mv .jvmopts-ci .jvmopts
cat .jvmopts
- run: git fetch --tags || true
- name: Setup Windows C++ toolchain
uses: ilammy/msvc-dev-cmd@v1
Expand Down
6 changes: 6 additions & 0 deletions .jvmopts-ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
-Xss4m
-Xms5G
-Xmx5G
-XX:ReservedCodeCacheSize=1024m
-XX:+TieredCompilation
-Dfile.encoding=UTF-8

0 comments on commit bd9e485

Please sign in to comment.