-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Missing --release 8 in javacOptions * Release must be with JDK 8 because --release 8 flag prevents access to com.sun.nio.file.SensitivityWatchEventModifier
- Loading branch information
Showing
3 changed files
with
32 additions
and
2 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 |
---|---|---|
|
@@ -43,6 +43,32 @@ jobs: | |
- name: "Code style, compile tests, MiMa. Run locally with: sbt \"verifyCodeStyle; +Test/compile; mimaReportBinaryIssues\"" | ||
run: sbt "verifyCodeStyle; +Test/compile; mimaReportBinaryIssues" | ||
|
||
compile-jdk-8: | ||
name: Compile with JDK 8 | ||
runs-on: ubuntu-22.04 | ||
env: | ||
JAVA_OPTS: -Xms2G -Xmx2G -Xss2M -XX:ReservedCodeCacheSize=256M -Dfile.encoding=UTF-8 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: # https://github.com/olafurpg/setup-scala#faster-checkout-of-big-repos | ||
fetch-depth: 100 | ||
|
||
- name: Fetch tags | ||
run: git fetch --depth=100 origin +refs/tags/*:refs/tags/* | ||
|
||
- name: Set up JDK 8 | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: adopt:1.8.0-275 | ||
|
||
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
|
||
- name: "Compile JDK 8" | ||
run: sbt compile | ||
|
||
documentation: | ||
name: ScalaDoc, Documentation with Paradox | ||
runs-on: ubuntu-22.04 | ||
|
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 |
---|---|---|
|
@@ -29,10 +29,11 @@ jobs: | |
- name: Cache Coursier cache | ||
uses: coursier/[email protected] | ||
|
||
- name: Set up JDK 11 | ||
# Release must be with JDK 8 because --release 8 flag prevents access to com.sun.nio.file.SensitivityWatchEventModifier | ||
- name: Set up JDK 8 | ||
uses: coursier/[email protected] | ||
with: | ||
jvm: temurin:1.11.0.17 | ||
jvm: adopt:1.8.0-275 | ||
|
||
- name: Publish artifacts for all Scala versions | ||
env: | ||
|
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