Skip to content

Commit

Permalink
change choco command
Browse files Browse the repository at this point in the history
  • Loading branch information
whyb committed Jan 7, 2025
1 parent c6acf43 commit 846ed86
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ jobs:
- name: Install dependencies
run: |
choco install cmake --version=3.31.3
mkdir "C:\opencv\"
choco install opencv --version=4.10.0 --package-parameters '/InstallationPath:"C:\Program Files\opencv\"'
choco install opencv --version=4.10.0
- name: CMake Configure & Generate
run: cmake -S . -B build -DBUILD_EXAMPLE:BOOL="1" -DBUILD_EXAMPLE_OPENCV:BOOL="1" -DBUILD_BENCHMARK:BOOL="1" -DUSE_OPENMP:BOOL="1" -DOpenCV_DIR:PATH="C:\opencv\"
run: cmake -S . -B build -DBUILD_EXAMPLE:BOOL="1" -DBUILD_EXAMPLE_OPENCV:BOOL="1" -DBUILD_BENCHMARK:BOOL="1" -DUSE_OPENMP:BOOL="1" -DOpenCV_DIR:PATH="C:\tools\opencv\"

- name: Build
run: cmake --build build --config Release
Expand Down

0 comments on commit 846ed86

Please sign in to comment.