Skip to content

Commit

Permalink
Revert "Pass custom JVM home when building compiler (#178)" (#180)
Browse files Browse the repository at this point in the history
This reverts commit 671d619.
  • Loading branch information
WojciechMazur authored Jul 6, 2023
1 parent f3dd439 commit c3df872
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/buildBisect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:

- uses: coursier/cache-action@v6.4
- uses: VirtusLab/scala-cli-setup@v1.0.1
with:
jvm: 8

- name: "Bisect project"
shell: bash
Expand Down
10 changes: 1 addition & 9 deletions scripts/bisect.scala
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,7 @@ object ValidationScript:
|scalaVersion=$$(sbt "print ${scala3CompilerProject}/version" | grep . | tail -n 2 | head -n 1)
|echo "ScalaVersion=$${scalaVersion}"
|rm -r out
|
|JVM_HOME_SBT=""
|if [[ -v CI && -z "$${JAVA_HOME_8_X64}" ]]; then
| echo "Java 8 HOME not set"; exit 1;
|else
| JVM_HOME_SBT="--java-home=$${JAVA_HOME_8_X64}"
|fi
|
|sbt $${JVM_HOME_SBT} "clean; set every sonatypePublishToBundle := Some(\"CommunityBuildRepo\" at \"$mavenRepo\"); ${scala3Project}/publish"
|sbt "clean; set every sonatypePublishToBundle := Some(\"CommunityBuildRepo\" at \"$mavenRepo\"); ${scala3Project}/publish"
|${validationCommandStatusModifier}${validationScript.getAbsolutePath} "$$scalaVersion"
""".stripMargin)
}
Expand Down

0 comments on commit c3df872

Please sign in to comment.