зеркало из https://github.com/microsoft/LightGBM.git
[ci] bump Xcode version on Azure (#1941)
* fixed xcode version * fixed brew on Travis * fixed brew on Azure Pipelines
This commit is contained in:
Родитель
fb28070e1d
Коммит
19c10824a1
|
@ -5,7 +5,7 @@ if [[ $OS_NAME == "macos" ]]; then
|
|||
brew install libomp
|
||||
brew upgrade cmake # CMake >=3.12 is needed to find OpenMP at macOS
|
||||
if [[ $AZURE == "true" ]]; then
|
||||
sudo xcode-select -s /Applications/Xcode_8.3.1.app/Contents/Developer
|
||||
sudo xcode-select -s /Applications/Xcode_8.3.3.app/Contents/Developer
|
||||
fi
|
||||
else
|
||||
if [[ $TRAVIS == "true" ]]; then
|
||||
|
|
|
@ -38,6 +38,7 @@ matrix:
|
|||
before_install:
|
||||
- test -n $CC && unset CC
|
||||
- test -n $CXX && unset CXX
|
||||
- export HOMEBREW_LOGS="$HOME/brew_logs" # brew hotfix
|
||||
- export HOME_DIRECTORY="$HOME"
|
||||
- export BUILD_DIRECTORY="$TRAVIS_BUILD_DIR"
|
||||
- if [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
||||
|
|
|
@ -107,6 +107,7 @@ jobs:
|
|||
inputs:
|
||||
updateConda: false
|
||||
- script: |
|
||||
echo "##vso[task.setvariable variable=HOMEBREW_LOGS]$AGENT_HOMEDIRECTORY/brew_logs"
|
||||
echo "##vso[task.setvariable variable=HOME_DIRECTORY]$AGENT_HOMEDIRECTORY"
|
||||
echo "##vso[task.setvariable variable=BUILD_DIRECTORY]$BUILD_SOURCESDIRECTORY"
|
||||
echo "##vso[task.setvariable variable=OS_NAME]macos"
|
||||
|
|
Загрузка…
Ссылка в новой задаче