Skip to content

Commit

Permalink
Fix windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BarkingBad committed Dec 13, 2021
1 parent 4b74afb commit 3670c73
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ jobs:
uses: actions/checkout@v2

- name: Test
run: sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test"
run: sbt ";dist/pack ;scala3-bootstrapped/compile ;scala3-bootstrapped/test"
shell: cmd

- name: Scala.js Test
Expand Down
5 changes: 4 additions & 1 deletion compiler/test/dotty/tools/scripting/ClasspathTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ class ClasspathTests:
case None => sys.error(s"test script not found: ${testScriptName}")
case Some(file) => file

val relpath = testScript.toPath.relpath.norm
val relpath = Some(testScript.toPath.relpath.norm).map {
case s if cygwin => s"$$(cygpath -aw $s)"
case s => s
}
printf("===> hashbangClasspathVerifyTest for script [%s]\n", relpath)
printf("bash is [%s]\n", bashExe)

Expand Down

0 comments on commit 3670c73

Please sign in to comment.