Limit ASAN setup to Linux runners

This commit is contained in:
Shivam Mathur
2026-12-06 00:16:11 +05:30
parent 8c5b98f2bd
commit 9ebeb73afd
+1 -1
View File
@@ -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" ) ||