Skip to content

Commit 97b387b

Browse files
committed
turn back to make
1 parent 5c20d23 commit 97b387b

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/opencv.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,20 @@ jobs:
9494
- name: Build OpenCV
9595
run: |
9696
cd opencv/build
97-
cmake --build . --parallel
97+
if [[ "${{ matrix.os }}" =~ ^win ]]; then
98+
cmake --build . --parallel
99+
else
100+
make -j$(nproc)
101+
fi
98102
99103
- name: Install OpenCV
100104
run: |
101105
cd opencv/build
102-
cmake --install .
106+
if [[ "${{ matrix.os }}" =~ ^win ]]; then
107+
cmake --install .
108+
else
109+
make install
110+
fi
103111
104112
- name: Show Build Artifacts
105113
run: |

0 commit comments

Comments
 (0)