diff --git a/scripts/ci_steps/log_tool_versions.sh b/scripts/ci_steps/log_tool_versions.sh index 9ed4775d183..136737a733b 100755 --- a/scripts/ci_steps/log_tool_versions.sh +++ b/scripts/ci_steps/log_tool_versions.sh @@ -2,16 +2,18 @@ set -e +echo + # Log CPU for hardware in use, if running on Mac if [[ "$OSTYPE" == "darwin"* ]]; then which sysctl sysctl -a | grep machdep.cpu || true - echo else echo "sysctl not run (not a Mac)" fi +echo # Log location & version for swiftc, xcodebuild, java, xcbeautify @@ -19,34 +21,33 @@ if command -v swiftc &> /dev/null then which swiftc swiftc --version - echo else echo "swiftc not installed" fi +echo if command -v xcodebuild &> /dev/null then which xcodebuild xcodebuild -version - echo else echo "xcodebuild not installed" fi +echo if command -v java &> /dev/null then which java java --version - echo else echo "java not installed" fi +echo if command -v xcbeautify &> /dev/null then which xcbeautify xcbeautify --version - echo else echo "xcbeautify not installed" fi