Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: bump the CB to run with Java 17 #23963

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
hamzaremmal wants to merge 9 commits into scala:main
base: main
Choose a base branch
Loading
from hamzaremmal:bump-cb
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/ci.yaml
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,10 @@ jobs:

steps:
######################################################################################
## WARNING: DO NOT CHANGE THE JAVA VERSION HERE. SCALA IS DISTRIBUTED USING JAVA 8. ##
## WARNING: DO NOT CHANGE THE JAVA VERSION HERE. SCALA IS DISTRIBUTED USING JAVA 17. ##
######################################################################################
- name: Set JDK 8 as default
run: echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
- name: Set JDK 17 as default
run: echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
- name: Reset existing repo
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
Expand Down Expand Up @@ -318,10 +318,10 @@ jobs:

steps:
######################################################################################
## WARNING: DO NOT CHANGE THE JAVA VERSION HERE. SCALA IS DISTRIBUTED USING JAVA 8. ##
## WARNING: DO NOT CHANGE THE JAVA VERSION HERE. SCALA IS DISTRIBUTED USING JAVA 17. ##
######################################################################################
- name: Set JDK 8 as default
run: echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
- name: Set JDK 17 as default
run: echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
- name: Reset existing repo
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
Expand Down Expand Up @@ -375,10 +375,10 @@ jobs:

steps:
######################################################################################
## WARNING: DO NOT CHANGE THE JAVA VERSION HERE. SCALA IS DISTRIBUTED USING JAVA 8. ##
## WARNING: DO NOT CHANGE THE JAVA VERSION HERE. SCALA IS DISTRIBUTED USING JAVA 17. ##
######################################################################################
- name: Set JDK 8 as default
run: echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
- name: Set JDK 17 as default
run: echo "/usr/lib/jvm/java-17-openjdk-amd64/bin" >> $GITHUB_PATH
- name: Reset existing repo
run: |
git config --global --add safe.directory $GITHUB_WORKSPACE
Expand Down
2 changes: 1 addition & 1 deletion community-build/community-projects/betterfiles
Open in desktop
Submodule betterfiles updated 67 files
+25 −166 .gitignore
+3 −0 .jvmopts
+104 −15 CHANGES.md
+1 −1 LICENSE
+301 −134 README.md
+57 −144 build.sbt
+10 −0 release.sh
2 changes: 1 addition & 1 deletion community-build/community-projects/play-json
Open in desktop
Submodule play-json updated 137 files
2 changes: 1 addition & 1 deletion community-build/community-projects/protoquill
Open in desktop
Submodule protoquill updated 491 files
2 changes: 1 addition & 1 deletion community-build/community-projects/scalatest
Open in desktop
Submodule scalatest updated 1786 files
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ trait CommunityBuildRunner:
|
|""".stripMargin)

val testsCompletedSuccessfully = execTimes(projectDef.build, 3)
val testsCompletedSuccessfully = execTimes(projectDef.build, 1)

if !testsCompletedSuccessfully then
failWith(s"""
Expand Down
15 changes: 8 additions & 7 deletions community-build/src/scala/dotty/communitybuild/projects.scala
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ object projects:
"""set genRegularTests4 / Test / managedSources ~= (_.filterNot(_.getName == "FrameworkSuite.scala").filterNot(_.getName == "GeneratorSpec.scala").filterNot(_.getName == "CommonGeneratorsSpec.scala").filterNot(_.getName == "ParallelTestExecutionSpec.scala").filterNot(_.getName == "DispatchReporterSpec.scala").filterNot(_.getName == "TestThreadsStartingCounterSpec.scala").filterNot(_.getName == "EventuallySpec.scala"))""",
"scalacticTestDotty/test; scalatestTestDotty/test; scalacticDottyJS/compile; scalatestDottyJS/compile"
).mkString("; "),
sbtPublishCommand = "scalacticDotty/publishLocal; scalatestDotty/publishLocal; scalacticDottyJS/publishLocal; scalatestDottyJS/publishLocal",
sbtPublishCommand = "scalacticDotty/publishLocal; scalatestDotty/publishLocal; scalacticDottyJS/publishLocal; scalatestDottyJS/publishLocal; scalatestCompatible/publishLocal",
sbtDocCommand = ";scalacticDotty/doc", // fails with missing type ;scalatestDotty/doc"
// cannot take signature of (test: org.scalatest.concurrent.ConductorFixture#OneArgTest):
// org.scalatest.Outcome
Expand All @@ -292,7 +292,7 @@ object projects:
project = "scalatestplus-junit",
sbtTestCommand = "scalatestplus-junit/test",
sbtPublishCommand = "scalatestplus-junit/publishLocal",
dependencies = List(scalatest)
//dependencies = List(scalatest) DO NOT DEPEND ON SCALATEST, THEY ARE BREAKING THINGS IN MAIN...
)

lazy val scalatestplusTestNG = SbtCommunityProject(
Expand All @@ -317,8 +317,9 @@ object projects:

lazy val betterfiles = SbtCommunityProject(
project = "betterfiles",
sbtTestCommand = "dotty-community-build/compile",
sbtDocCommand = ";core/doc ;akka/doc ;shapelessScanner/doc"
sbtTestCommand = "test",
sbtDocCommand = "doc",
scalacOptions = SbtCommunityProject.scalacOptions.filter(_ != "-Xfatal-warnings"), // allow warnings for now
)

lazy val scalaPB = SbtCommunityProject(
Expand Down Expand Up @@ -670,9 +671,9 @@ object projects:

lazy val playJson = SbtCommunityProject(
project = "play-json",
sbtTestCommand = "test",
sbtPublishCommand = "publishLocal",
dependencies = List(scalatest, scalatestplusScalacheck),
sbtTestCommand = "play-jsonJVM/test; play-jsonJS/test; play-functionalJVM/test; play-functionalJS/test; play-json-joda/test",
sbtPublishCommand = "play-jsonJVM/publishLocal; play-jsonJS/publishLocal; play-functionalJVM/publishLocal; play-functionalJS/publishLocal; play-json-joda/publishLocal",
//dependencies = List(scalatest, scalatestplusScalacheck),
)

lazy val munitCatsEffect = SbtCommunityProject(
Expand Down
Loading

AltStyle によって変換されたページ (->オリジナル) /