[CI] Fix github action mismatched glibcxx. (#8551)
* [CI] Fix github action mismatched glibcxx. Split up the Linux test to use the toolchain from conda forge.
This commit is contained in:
11
tests/ci_build/conda_env/cpp_test.yml
Normal file
11
tests/ci_build/conda_env/cpp_test.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
# conda environment for CPP test on Linux distributions
|
||||
name: cpp_test
|
||||
channels:
|
||||
- defaults
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- cmake
|
||||
- ninja
|
||||
- c-compiler
|
||||
- cxx-compiler
|
||||
- gtest
|
||||
13
tests/ci_build/conda_env/sdist_test.yml
Normal file
13
tests/ci_build/conda_env/sdist_test.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
# conda environment for source distribution test.
|
||||
name: sdist_test
|
||||
channels:
|
||||
- defaults
|
||||
- conda-forge
|
||||
dependencies:
|
||||
- python=3.8
|
||||
- pip
|
||||
- wheel
|
||||
- cmake
|
||||
- ninja
|
||||
- c-compiler
|
||||
- cxx-compiler
|
||||
Reference in New Issue
Block a user