[backport] [CI] Fix github action mismatched glibcxx. (#8551) (#8552)

Split up the Linux test to use the toolchain from conda forge.
This commit is contained in:
Jiaming Yuan
2022-12-06 21:35:26 +08:00
committed by GitHub
parent 850b53100f
commit 58bc225657
4 changed files with 121 additions and 67 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