[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:
Jiaming Yuan
2022-12-06 17:42:15 +08:00
committed by GitHub
parent ed1a4f3205
commit d99bdd1b1e
4 changed files with 124 additions and 70 deletions

View 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

View 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