зеркало из https://github.com/microsoft/LightGBM.git
swap compilers
This commit is contained in:
Родитель
8f26585eab
Коммит
f04dc27b17
|
@ -58,10 +58,10 @@ jobs:
|
||||||
export METHOD="${{ matrix.method }}"
|
export METHOD="${{ matrix.method }}"
|
||||||
export PYTHON_VERSION="${{ matrix.python_version }}"
|
export PYTHON_VERSION="${{ matrix.python_version }}"
|
||||||
if [[ "${{ matrix.os }}" == "macOS-latest" ]]; then
|
if [[ "${{ matrix.os }}" == "macOS-latest" ]]; then
|
||||||
export COMPILER="gcc"
|
export COMPILER="clang"
|
||||||
export OS_NAME="macos"
|
export OS_NAME="macos"
|
||||||
elif [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
|
elif [[ "${{ matrix.os }}" == "ubuntu-latest" ]]; then
|
||||||
export COMPILER="clang"
|
export COMPILER="gcc"
|
||||||
export OS_NAME="linux"
|
export OS_NAME="linux"
|
||||||
fi
|
fi
|
||||||
export BUILD_DIRECTORY="$GITHUB_WORKSPACE"
|
export BUILD_DIRECTORY="$GITHUB_WORKSPACE"
|
||||||
|
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
- job: Linux
|
- job: Linux
|
||||||
###########################################
|
###########################################
|
||||||
variables:
|
variables:
|
||||||
COMPILER: gcc
|
COMPILER: clang
|
||||||
SETUP_CONDA: 'false'
|
SETUP_CONDA: 'false'
|
||||||
OS_NAME: 'linux'
|
OS_NAME: 'linux'
|
||||||
PRODUCES_ARTIFACTS: 'true'
|
PRODUCES_ARTIFACTS: 'true'
|
||||||
|
@ -79,7 +79,7 @@ jobs:
|
||||||
- job: Linux_latest
|
- job: Linux_latest
|
||||||
###########################################
|
###########################################
|
||||||
variables:
|
variables:
|
||||||
COMPILER: clang
|
COMPILER: gcc
|
||||||
DEBIAN_FRONTEND: 'noninteractive'
|
DEBIAN_FRONTEND: 'noninteractive'
|
||||||
IN_UBUNTU_LATEST_CONTAINER: 'true'
|
IN_UBUNTU_LATEST_CONTAINER: 'true'
|
||||||
OS_NAME: 'linux'
|
OS_NAME: 'linux'
|
||||||
|
@ -214,7 +214,7 @@ jobs:
|
||||||
- job: macOS
|
- job: macOS
|
||||||
###########################################
|
###########################################
|
||||||
variables:
|
variables:
|
||||||
COMPILER: clang
|
COMPILER: gcc
|
||||||
OS_NAME: 'macos'
|
OS_NAME: 'macos'
|
||||||
PRODUCES_ARTIFACTS: 'true'
|
PRODUCES_ARTIFACTS: 'true'
|
||||||
pool:
|
pool:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче