Skip to content

Commit

Permalink
Add choco --force
Browse files Browse the repository at this point in the history
  • Loading branch information
whyb committed Jan 20, 2025
1 parent a7f6a7c commit a897d4e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:

- name: Install dependencies
run: |
choco install cmake --version=3.31.3 --ignore-existing
choco install opencv --version=4.10.0 --ignore-existing
choco install cmake --force
choco install opencv --version=4.10.0 --force
- 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:\tools\opencv\build"
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:

- name: Install dependencies
run: |
choco install cmake --version=3.31.3 --ignore-existing
choco install cmake --force
- name: CMake Configure & Generate
run: cmake -S . -B build -DBUILD_EXAMPLE:BOOL="1" -DBUILD_BENCHMARK:BOOL="1" -DUSE_OPENMP:BOOL="1" -A Win32
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:

- name: Install dependencies
run: |
choco install cmake --version=3.31.3 --ignore-existing
choco install cmake --force
- name: CMake Configure & Generate
run: cmake -S . -B build -DBUILD_EXAMPLE:BOOL="1" -DBUILD_BENCHMARK:BOOL="1" -DUSE_OPENMP:BOOL="1" -A ARM64
Expand All @@ -134,7 +134,7 @@ jobs:

- name: Install dependencies
run: |
choco install cmake --version=3.31.3 --ignore-existing
choco install cmake --force
- name: CMake Configure & Generate
run: cmake -S . -B build -DBUILD_EXAMPLE:BOOL="1" -DBUILD_BENCHMARK:BOOL="1" -DUSE_OPENMP:BOOL="1" -A ARM
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ jobs:

- name: Install dependencies
run: |
choco install cmake --version=3.31.3
choco install opencv --version=4.10.0
choco install zip --version=3.0
choco install cmake --force
choco install opencv --version=4.10.0 --force
choco install zip --force
- name: CMake Configure & Generate(x64)
run: cmake -S . -B build-x64 -DBUILD_EXAMPLE:BOOL="1" -DBUILD_EXAMPLE_OPENCV:BOOL="1" -DBUILD_BENCHMARK:BOOL="1" -DUSE_OPENMP:BOOL="1" -DOpenCV_DIR:PATH="C:\tools\opencv\build" -A x64
Expand Down Expand Up @@ -96,8 +96,8 @@ jobs:

- name: Install dependencies
run: |
choco install cmake --version=3.31.3
choco install zip --version=3.0
choco install cmake --force
choco install zip --force
- name: CMake Configure & Generate(x86)
run: cmake -S . -B build-x86 -DBUILD_EXAMPLE:BOOL="1" -DBUILD_BENCHMARK:BOOL="1" -DUSE_OPENMP:BOOL="1" -A Win32
Expand Down Expand Up @@ -134,8 +134,8 @@ jobs:

- name: Install dependencies
run: |
choco install cmake --version=3.31.3
choco install zip --version=3.0
choco install cmake --force
choco install zip --force
- name: CMake Configure & Generate(arm64)
run: cmake -S . -B build-arm64 -DBUILD_EXAMPLE:BOOL="1" -DBUILD_BENCHMARK:BOOL="1" -DUSE_OPENMP:BOOL="1" -A ARM64
Expand Down

0 comments on commit a897d4e

Please sign in to comment.