mirror of https://github.com/sbt/sbt.git
Test against sbt 1.x build
This commit is contained in:
parent
26b3c5315f
commit
7492dc9783
|
|
@ -86,13 +86,25 @@ jobs:
|
|||
command: |
|
||||
# test building sbtn on Windows (sbtw native-image dropped: scopt lazy vals break under Graal)
|
||||
sbt "-Dsbt.io.virtual=false" nativeImage
|
||||
- name: sbtn test (Windows)
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
shell: bash
|
||||
run: |
|
||||
REPO_ROOT=$(pwd)
|
||||
set -o xtrace
|
||||
# smoke test native Image (sbtn)
|
||||
$REPO_ROOT/client/target/bin/sbtn --sbt-script=$REPO_ROOT/launcher-package/src/universal/bin/sbt.bat about
|
||||
$REPO_ROOT/client/target/bin/sbtn --sbt-script=$REPO_ROOT/launcher-package/src/universal/bin/sbt.bat shutdown
|
||||
pushd launcher-package/citest
|
||||
# smoke test native Image (sbtn) against sbt 1.x build
|
||||
$REPO_ROOT/client/target/bin/sbtn --sbt-script=$REPO_ROOT/launcher-package/src/universal/bin/sbt.bat about > out.txt
|
||||
grep -q "Available Plugins" out.txt
|
||||
$REPO_ROOT/client/target/bin/sbtn --sbt-script=$REPO_ROOT/launcher-package/src/universal/bin/sbt.bat shutdown
|
||||
popd
|
||||
- name: Client test (Windows)
|
||||
if: ${{ matrix.os == 'windows-latest' }}
|
||||
shell: bash
|
||||
run: |
|
||||
# smoke test native Image (sbtn)
|
||||
./client/target/bin/sbtn --sbt-script=$(pwd)/launcher-package/src/universal/bin/sbt.bat about
|
||||
./client/target/bin/sbtn --sbt-script=$(pwd)/launcher-package/src/universal/bin/sbt.bat shutdown
|
||||
# test launcher script
|
||||
echo build using JDK 17 test using JDK 17 and JDK 25
|
||||
launcher-package/bin/coursier.bat resolve
|
||||
|
|
|
|||
|
|
@ -301,7 +301,7 @@ public class BootServerSocket implements AutoCloseable {
|
|||
}
|
||||
|
||||
public static String namedPipeLocation(final long farmHash) {
|
||||
return "\\\\.\\pipe\\sbt-load" + farmHash;
|
||||
return "sbt-load" + farmHash;
|
||||
}
|
||||
|
||||
@SuppressWarnings("EmptyCatchBlock")
|
||||
|
|
|
|||
Loading…
Reference in New Issue