Skip to content

Commit 92d3a5b

Browse files
Faster bisect by skiping generation of scaladoc in compiler (#181)
* Disable generation of docs for published compiler in bisect * Don't log latest comits in compiler at start of bisect
1 parent c3df872 commit 92d3a5b

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/buildBisect.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,6 @@ jobs:
6464
shell: bash
6565
run: |
6666
cd ${{ github.workspace }}/compiler
67-
echo "Last 3 Scala compiler commits:"
68-
git --no-pager log -3
69-
echo "---"
7067
scala-cli ${{ github.workspace }}/opencb/scripts/bisect.scala -- \
7168
--project-name=${{ inputs.project-name }} \
7269
--targets=${{ inputs.project-targets }} \

scripts/bisect.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ object ValidationScript:
224224
|scalaVersion=$$(sbt "print ${scala3CompilerProject}/version" | grep . | tail -n 2 | head -n 1)
225225
|echo "ScalaVersion=$${scalaVersion}"
226226
|rm -r out
227-
|sbt "clean; set every sonatypePublishToBundle := Some(\"CommunityBuildRepo\" at \"$mavenRepo\"); ${scala3Project}/publish"
227+
|sbt "clean; set every sonatypePublishToBundle := Some(\"CommunityBuildRepo\" at \"$mavenRepo\"); set every doc := new File(\"unused\"); set scaladoc/Compile/resourceGenerators := (\`${scala3Project}\`/Compile/resourceGenerators).value; ${scala3Project}/publish"
228228
|${validationCommandStatusModifier}${validationScript.getAbsolutePath} "$$scalaVersion"
229229
""".stripMargin)
230230
}

0 commit comments

Comments
 (0)