File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,17 @@ jobs:
1717 gtest-cpu-nonomp :
1818 name : Test Google C++ unittest (CPU Non-OMP)
1919 runs-on : ubuntu-latest
20+ defaults :
21+ run :
22+ shell : bash -l {0}
2023 steps :
2124 - uses : actions/checkout@v4
2225 with :
2326 submodules : ' true'
24- - name : Install system packages
25- run : |
26- sudo apt-get install -y --no-install-recommends ninja-build
27+ - uses : dmlc/xgboost-devops/actions/miniforge-setup@main
28+ with :
29+ environment-name : cpp_test
30+ environment-file : ops/conda_env/cpp_test.yml
2731 - name : Build and test XGBoost
2832 run : bash ops/pipeline/build-test-cpu-nonomp.sh
2933
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ cmake .. \
1010 -DUSE_OPENMP=OFF \
1111 -DHIDE_CXX_SYMBOLS=ON \
1212 -DGOOGLE_TEST=ON \
13- -DUSE_DMLC_GTEST=ON \
1413 -DENABLE_ALL_WARNINGS=ON \
1514 -DCMAKE_COMPILE_WARNING_AS_ERROR=OFF
1615time ninja -v
You can’t perform that action at this time.
0 commit comments