This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/storm.git
The following commit(s) were added to refs/heads/master by this push:
new f28441d02 Allow building using GH scripts in OSX (see STORM-4056)
f28441d02 is described below
commit f28441d02b42eea7682c3a2cf600c1776aad7cb4
Author: Richard Zowalla <[email protected]>
AuthorDate: Thu May 23 13:33:52 2024 +0200
Allow building using GH scripts in OSX (see STORM-4056)
---
dev-tools/gitact/gitact-install.sh | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/dev-tools/gitact/gitact-install.sh
b/dev-tools/gitact/gitact-install.sh
index 6080625d1..4b933b457 100755
--- a/dev-tools/gitact/gitact-install.sh
+++ b/dev-tools/gitact/gitact-install.sh
@@ -34,7 +34,17 @@ then
fi
cd "${STORM_SRC_ROOT_DIR}" || ( echo "Cannot cd to ${STORM_SRC_ROOT_DIR}";
exit 1 )
-python3 "${TRAVIS_SCRIPT_DIR}"/save-logs.py "install.txt" mvn clean install
-DskipTests -Pnative,examples,externals -pl '!storm-shaded-deps' --batch-mode
+
+# Check the operating system
+OS="$(uname)"
+echo $OS
+# Run the command only if the OS is not macOS
+if [ "$OS" != "Darwin" ]; then
+ python3 "${TRAVIS_SCRIPT_DIR}"/save-logs.py "install.txt" mvn clean install
-DskipTests -Pnative,examples,externals -pl '!storm-shaded-deps' --batch-mode
+else
+ echo "Running on macOS. Skipping -Pnative."
+ python3 "${TRAVIS_SCRIPT_DIR}"/save-logs.py "install.txt" mvn clean install
-DskipTests -Pexamples,externals -pl '!storm-shaded-deps' --batch-mode
+fi
BUILD_RET_VAL=$?
if [[ "$BUILD_RET_VAL" != "0" ]];