Skip to content

Commit 5b67546

Browse files
[ci] enable OpenMP support in cpp tests (#6676)
* Update test-windows.ps1 * Update test.sh --------- Co-authored-by: James Lamb <[email protected]>
1 parent 2b8a2bb commit 5b67546

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: .ci/test-windows.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if ($env:TASK -eq "r-package") {
2222
}
2323

2424
if ($env:TASK -eq "cpp-tests") {
25-
cmake -B build -S . -DBUILD_CPP_TEST=ON -DUSE_OPENMP=OFF -DUSE_DEBUG=ON -A x64
25+
cmake -B build -S . -DBUILD_CPP_TEST=ON -DUSE_DEBUG=ON -A x64
2626
cmake --build build --target testlightgbm --config Debug ; Check-Output $?
2727
.\Debug\testlightgbm.exe ; Check-Output $?
2828
Exit 0

Diff for: .ci/test.sh

-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ fi
5050
if [[ "$TASK" == "cpp-tests" ]]; then
5151
cmake_args=(
5252
-DBUILD_CPP_TEST=ON
53-
-DUSE_OPENMP=OFF
5453
-DUSE_DEBUG=ON
5554
)
5655
if [[ $METHOD == "with-sanitizers" ]]; then

0 commit comments

Comments
 (0)