| Server IP : 68.178.247.200 / Your IP : 216.73.217.37 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/thread-self/root/opt/alt/ruby27/src/passenger-release-6.1.2/dev/ci/tests/binaries/ |
Upload File : |
#!/usr/bin/env bash
# This script is from the "Passenger binaries test" Jenkins job. It builds
# generic macOS binaries.
#
# Required environment variables:
#
# WORKSPACE
#
# Optional environment variables:
#
# PASSENGER_ROOT (defaults to $WORKSPACE)
# OUTPUT_DIR (defaults to $WORKSPACE/output)
# CACHE_DIR (defaults to $WORKSPACE/cache)
# RUNTIME_DIR (defaults to $CACHE_DIR/runtime)
set -e
SELFDIR=$(dirname "$0")
cd "$SELFDIR/../../../../packaging/binaries"
# shellcheck source=../../../../packaging/binaries/shared/lib/library.sh
source "./shared/lib/library.sh"
require_envvar WORKSPACE "$WORKSPACE"
PASSENGER_ROOT="${PASSENGER_ROOT:-$WORKSPACE}"
OUTPUT_DIR="${OUTPUT_DIR:-$WORKSPACE/output}"
CACHE_DIR="${CACHE_DIR:-$WORKSPACE/cache}"
RUNTIME_DIR="${RUNTIME_DIR:-$CACHE_DIR/runtime}"
RUNTIME_VERSION=$(cat shared/definitions/macos_runtime_version)
run mkdir -p "$OUTPUT_DIR"
run mkdir -p "$CACHE_DIR"
run ./macos/build \
-p "$PASSENGER_ROOT" \
-r "$RUNTIME_DIR/$RUNTIME_VERSION" \
-c "$CACHE_DIR" \
-o "$OUTPUT_DIR" \
-j 1 \
passenger nginx