-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
26 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
name: CI | ||
|
||
env: | ||
JDK_JAVA_OPTIONS: -XX:+PrintCommandLineFlags -Xmx6G -Xss4M -XX:+UseG1GC # JDK_JAVA_OPTIONS is _the_ env. variable to use for modern Java | ||
JVM_OPTS: -XX:+PrintCommandLineFlags -Xmx6G -Xss4M -XX:+UseG1GC # for Java 8 only (sadly, it is not modern enough for JDK_JAVA_OPTIONS) | ||
JDK_JAVA_OPTIONS: -XX:+PrintCommandLineFlags -Xmx6G -Xss4M -XX:+UseG1GC | ||
NODE_OPTIONS: --max_old_space_size=6144 | ||
|
||
on: | ||
|
@@ -38,16 +37,16 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: ['[email protected]', '[email protected]'] | ||
java: ['temurin:17', 'temurin:21'] | ||
scala: ['2.12.18', '2.13.12', '3.3.1'] | ||
platform: ['JVM', 'Native', 'JS'] | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- uses: olafurpg/setup-scala@v13 | ||
- uses: coursier/setup-action@v1 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
jvm: ${{ matrix.java }} | ||
- name: Cache scala dependencies | ||
uses: coursier/cache-action@v6 | ||
- name: Install libuv | ||
|
@@ -56,6 +55,12 @@ jobs: | |
- name: Run tests | ||
run: sbt ++${{ matrix.scala }}! test${{ matrix.platform }} | ||
|
||
ci: | ||
runs-on: ubuntu-20.04 | ||
needs: [build,lint] | ||
steps: | ||
- run: echo "All checks passed" | ||
|
||
publish: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 45 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters