Skip to content

Commit e8518c5

Browse files
committed
更新 CI 配置,优化 OpenCV 依赖项安装
1 parent 846d854 commit e8518c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/cpp-cmake-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,15 @@ jobs:
108108
run: |
109109
& "$env:VCPKG_ROOT\vcpkg.exe" install `
110110
"onnxruntime:${{ matrix.vcpkg_triplet }}" `
111-
"opencv4:${{ matrix.vcpkg_triplet }}"
111+
"opencv4[core,jpeg,png,webp]:${{ matrix.vcpkg_triplet }}"
112112
113113
- name: Install C++ dependencies on Linux
114114
if: runner.os == 'Linux'
115115
shell: bash
116116
run: |
117117
"$VCPKG_ROOT/vcpkg" install \
118118
"onnxruntime:${{ matrix.vcpkg_triplet }}" \
119-
"opencv4:${{ matrix.vcpkg_triplet }}"
119+
"opencv4[core,jpeg,png,webp]:${{ matrix.vcpkg_triplet }}"
120120
121121
- name: Configure on Windows
122122
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)