From 69b1746529b02ce7d3eb64c768243c7fae987ae6 Mon Sep 17 00:00:00 2001 From: zhang2014 Date: Tue, 16 Nov 2021 16:45:09 +0800 Subject: [PATCH] Fix make test failure in macOS 12.0 --- scripts/ci/ci-run-unit-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ci/ci-run-unit-tests.sh b/scripts/ci/ci-run-unit-tests.sh index f35fa07afb2ab..cad7f0eea3007 100755 --- a/scripts/ci/ci-run-unit-tests.sh +++ b/scripts/ci/ci-run-unit-tests.sh @@ -6,4 +6,4 @@ SCRIPT_PATH="$(cd "$(dirname "$0")" >/dev/null 2>&1 && pwd)" cd "$SCRIPT_PATH/../../" || exit echo "Starting unit tests" -cargo test +env "MACOSX_DEPLOYMENT_TARGET=10.7" cargo test