mirror of https://github.com/sbt/sbt.git
CI: verify sbtw binary exists instead of running --help (scopt/Graal native image)
This commit is contained in:
parent
11259109a4
commit
c2a04b3953
|
|
@ -96,8 +96,8 @@ jobs:
|
|||
# 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
|
||||
# smoke test sbtw (Windows launcher)
|
||||
if [ -f sbtw/target/bin/sbtw.exe ]; then ./sbtw/target/bin/sbtw.exe --help; else ./sbtw/target/bin/sbtw --help; fi
|
||||
# sbtw native image built; skip running it (scopt lazy vals break under Graal native image)
|
||||
test -f sbtw/target/bin/sbtw.exe || test -f sbtw/target/bin/sbtw
|
||||
# test launcher script
|
||||
echo build using JDK 17 test using JDK 17 and JDK 25
|
||||
launcher-package/bin/coursier.bat resolve
|
||||
|
|
|
|||
Loading…
Reference in New Issue