Skip to content

Commit ec7f119

Browse files
committed
use cmake for win
1 parent 3ee3832 commit ec7f119

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/opencv.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,12 @@ jobs:
8080
- name: Build OpenCV
8181
shell: bash
8282
run: |
83-
cd opencv/build && make -j$(nproc)
83+
cd opencv/build
84+
if [[ "${{ matrix.os }}" == "win" ]]; then
85+
cmake --build . --config Release
86+
else
87+
make -j$(nproc)
88+
fi
8489
8590
- name: Install OpenCV
8691
run: |

0 commit comments

Comments
 (0)