Skip to content

Commit

Permalink
build: add console log with Node.js process.versions to help with deb…
Browse files Browse the repository at this point in the history
…ugging
  • Loading branch information
JCMais committed Dec 10, 2024
1 parent 7c9cd91 commit 478ac35
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scripts/ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ curr_dirname=$(dirname "$0")

. $curr_dirname/utils/gsort.sh

FORCE_REBUILD=false
FORCE_REBUILD_DEFAULT=false
# if [[ ! -z "$GIT_TAG" ]]; then
# FORCE_REBUILD=true
# FORCE_REBUILD_DEFAULT=true
# fi

export FORCE_REBUILD=$FORCE_REBUILD
export FORCE_REBUILD=${FORCE_REBUILD:-$FORCE_REBUILD_DEFAULT}

MACOS_UNIVERSAL_BUILD=${MACOS_UNIVERSAL_BUILD:-}

echo "Checking python version"
python -V || true
echo "Checking python3 version"
python3 -V || true
echo "Checking nodejs version"
node -e "console.log(process.versions)"

if [ "$(uname)" == "Darwin" ]; then
# Default to universal build, if possible.
Expand Down

0 comments on commit 478ac35

Please sign in to comment.