提交 e1813911 编写于 作者: J João Moreno

product compile should use same CC CXX

上级 ea290c5c
2020-12-16T17:37:56.504Z
2020-12-17T07:59:24.060Z
......@@ -70,11 +70,19 @@ steps:
- script: |
set -e
if [ -z "$CC" ] || [ -z "$CXX" ]
then
export npm_config_arch=$(NPM_ARCH)
if [ -z "$CC" ] || [ -z "$CXX" ]; then
export CC=$(which gcc-5)
export CXX=$(which g++-5)
fi
if [ "$VSCODE_ARCH" == "x64" ]; then
export VSCODE_REMOTE_CC=$(which gcc-4.8)
export VSCODE_REMOTE_CXX=$(which g++-4.8)
export VSCODE_REMOTE_NODE_GYP=$(which node-gyp)
fi
for i in {1..3}; do # try 3 times, for Terrapin
yarn --frozen-lockfile && break
if [ $i -eq 3 ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册