"src/boosting/dart.cpp" did not exist on "5a483a8d2c3e2ded8abe219beeeb4dfe4c21ddd8"
Unverified Commit 5b675461 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] enable OpenMP support in cpp tests (#6676)



* Update test-windows.ps1

* Update test.sh

---------
Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
parent 2b8a2bb8
......@@ -22,7 +22,7 @@ if ($env:TASK -eq "r-package") {
}
if ($env:TASK -eq "cpp-tests") {
cmake -B build -S . -DBUILD_CPP_TEST=ON -DUSE_OPENMP=OFF -DUSE_DEBUG=ON -A x64
cmake -B build -S . -DBUILD_CPP_TEST=ON -DUSE_DEBUG=ON -A x64
cmake --build build --target testlightgbm --config Debug ; Check-Output $?
.\Debug\testlightgbm.exe ; Check-Output $?
Exit 0
......
......@@ -50,7 +50,6 @@ fi
if [[ "$TASK" == "cpp-tests" ]]; then
cmake_args=(
-DBUILD_CPP_TEST=ON
-DUSE_OPENMP=OFF
-DUSE_DEBUG=ON
)
if [[ $METHOD == "with-sanitizers" ]]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment