ci: unset SDKROOT

macOS 11 is the default agent that has the correct headers
by default to build for arm target. The hack was needed when
the agent was still Catalina and the arm headers were not
available by default.
This commit is contained in:
deepak1556 2021-11-26 13:19:47 +09:00
parent a45c7f09cc
commit 480888c7ce

View file

@ -84,7 +84,6 @@ steps:
set -e
export npm_config_arch=$(VSCODE_ARCH)
export npm_config_node_gyp=$(which node-gyp)
export SDKROOT=/Applications/Xcode_12.2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.0.sdk
for i in {1..3}; do # try 3 times, for Terrapin
yarn --frozen-lockfile && break