Skip to content

Commit

Permalink
set choco intall folder
Browse files Browse the repository at this point in the history
  • Loading branch information
whyb committed Jan 7, 2025
1 parent 690ea5b commit 9c1b7ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,11 @@ jobs:
- name: Install dependencies
run: |
choco install cmake --version=3.31.3
choco install opencv --version=4.10.0
mkdir %temp%\opencv
choco install opencv --version=4.10.0 --package-parameters '/InstallationPath:%temp%\opencv'
- 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"
run: cmake -S . -B build -DBUILD_EXAMPLE:BOOL="1" -DBUILD_EXAMPLE_OPENCV:BOOL="1" -DBUILD_BENCHMARK:BOOL="1" -DUSE_OPENMP:BOOL="1" -DCMAKE_PREFIX_PATH=%temp%\opencv

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

0 comments on commit 9c1b7ec

Please sign in to comment.