Skip to content

Commit 2869b13

Browse files
committed
-Xss4m
1 parent 27abe97 commit 2869b13

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,17 @@ jobs:
3232
scala: [2.12, 2.13, 3]
3333
java: [temurin@11]
3434
project: [rootJS, rootJVM, rootNative]
35+
include:
36+
- scala: 3
37+
java: temurin@11
38+
project: rootNative
39+
os: macos-latest
3540
exclude:
3641
- scala: 3
3742
project: rootJVM
43+
- scala: 3
44+
project: rootNative
45+
os: ubuntu-latest
3846
runs-on: ${{ matrix.os }}
3947
timeout-minutes: 60
4048
steps:
@@ -191,16 +199,6 @@ jobs:
191199
tar xf targets.tar
192200
rm targets.tar
193201
194-
- name: Download target directories (3, rootNative)
195-
uses: actions/download-artifact@v4
196-
with:
197-
name: target-${{ matrix.os }}-${{ matrix.java }}-3-rootNative
198-
199-
- name: Inflate target directories (3, rootNative)
200-
run: |
201-
tar xf targets.tar
202-
rm targets.tar
203-
204202
- name: Import signing key
205203
if: env.PGP_SECRET != '' && env.PGP_PASSPHRASE == ''
206204
env:

.jvmopts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
-Xmx4g
2+
-Xss4m
23
-XX:+UseShenandoahGC
34
-Dfile.encoding=UTF8
5+
-XX:+PrintCommandLineFlags

build.sbt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,17 @@ ThisBuild / githubWorkflowJavaVersions := Seq(javaDistro)
1313
ThisBuild / githubWorkflowSbtCommand := "./sbt"
1414

1515
ThisBuild / githubWorkflowBuildMatrixExclusions ++= Seq(
16-
MatrixExclude(Map("scala" -> "3", "project" -> "rootJVM")) // TODO
16+
MatrixExclude(Map("scala" -> "3", "project" -> "rootJVM")), // TODO
17+
MatrixExclude(
18+
Map("scala" -> "3", "project" -> "rootNative", "os" -> "ubuntu-latest")
19+
) // run on macOS instead
1720
)
1821

22+
ThisBuild / githubWorkflowBuildMatrixInclusions +=
23+
MatrixInclude(Map("scala" -> "3", "java" -> javaDistro.render, "project" -> "rootNative"),
24+
Map("os" -> "macos-latest")
25+
)
26+
1927
val tzdbVersion = "2019c"
2028
val scalajavaLocalesVersion = "1.5.4"
2129
Global / onChangedBuildSource := ReloadOnSourceChanges

0 commit comments

Comments
 (0)