You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some tools (specifically PlantUML in this case) require a JDK, hence we install it. Bazel's rules_java requires that JAVA_HOME is set appropriately, so we do that as well.
Copy file name to clipboardExpand all lines: src/s-core-devcontainer/.devcontainer/s-core-local/tests/test_default.sh
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,10 @@ check "validate buildifier is working and has the correct version" bash -c "buil
41
41
check "validate starpls is working and has the correct version" bash -c "starpls version | grep '${starpls_version}'"
42
42
check "validate bazel-compile-commands is working and has the correct version" bash -c "bazel-compile-commands --version 2>&1 | grep '${bazel_compile_commands_version}'"
43
43
44
+
# OpenJDK
45
+
check "validate java is working and has the correct version" bash -c "java -version 2>&1 | grep '${openjdk_21_version}'"
46
+
check "validate JAVA_HOME is set correctly" bash -c 'echo $JAVA_HOME | xargs readlink -f | grep "java-21-openjdk"'
47
+
44
48
# additional developer tools
45
49
check "validate gdb is working and has the correct version" bash -c "gdb --version | grep '${gdb_version}'"
46
50
check "validate gh is working and has the correct version" bash -c "gh --version | grep '${gh_version}'"
0 commit comments