diff --git a/src/scripts/unix.sh b/src/scripts/unix.sh index 0fe6ac63..6280bc90 100644 --- a/src/scripts/unix.sh +++ b/src/scripts/unix.sh @@ -96,7 +96,7 @@ read_env() { use_builds_cache="${use_builds_cache:-${use_package_cache:-}}" [ "${debug:-${DEBUG:-false}}" = "true" ] && debug=debug && update=true || debug=release [[ "${phpts:-${PHPTS:-nts}}" = "ts" || "${phpts:-${PHPTS:-nts}}" = "zts" ]] && ts=zts && update=true || ts=nts - [[ "${asan:-${ASAN:-false}}" = "true" ]] && asan=asan && configure_asan || asan= + [[ "$OSTYPE" = linux* && "${asan:-${ASAN:-false}}" = "true" ]] && asan=asan && configure_asan || asan= fail_fast="${fail_fast:-${FAIL_FAST:-false}}" [[ ( -z "$ImageOS" && -z "$ImageVersion" ) || ( -n "$RUNNER_ENVIRONMENT" && "$RUNNER_ENVIRONMENT" = "self-hosted" ) ||