test against CMAKE_OSX_DEPLOYMENT_TARGET

This commit is contained in:
ymshenyu 2020-03-31 19:34:21 +08:00
parent 82403e951b
commit 81b24ebdef

View File

@ -19,13 +19,10 @@ steps:
- script: |
brew install protobuf grpc ninja qt5
displayName: Prepare dependencies
- script: |
xcversion select 10.1 --symlink
displayName: Select Xcode 10.1 as active
- script: |
mkdir build
cd build
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release
cmake .. -GNinja -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_DEPLOYMENT_TARGET=10.13
cmake --build . --parallel $(sysctl -n hw.logicalcpu)
sudo cmake --install .
sudo chmod -Rv a+rw ./