Explicitly set OSX_DEPLOYMENT_TARGET in cmake flags, as

matrix.config.env is not propagated into job's env variables.
This commit is contained in:
Kadir Cetinkaya 2021-10-29 16:35:17 +02:00 committed by kadir çetinkaya
parent c0845399c6
commit 1a5759b2da

View File

@ -160,12 +160,12 @@ jobs:
os: macos-latest
preinstall: brew install ninja zlib p7zip
cflags: -O3 -gline-tables-only -DNDEBUG
env: MACOSX_DEPLOYMENT_TARGET=10.9
cmake: >-
"-DCMAKE_C_COMPILER=clang"
"-DCMAKE_CXX_COMPILER=clang++"
"-DLLVM_ENABLE_ZLIB=FORCE_ON"
"-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64"
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9"
# BoringSSL doesn't support universal binaries when building with ASM.
grpc_cmake: >-
"-DOPENSSL_NO_ASM=ON"