Skip to content

Commit

Permalink
ci: update to opencv 4.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiud committed Jul 14, 2024
1 parent 0afe49a commit 5205e9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
- name: Test
run: |
ctest --test-dir build_${{matrix.build_type}} \
--config ${{matrix.build_type}} \
--build-config ${{matrix.build_type}} \
-j$(nproc) \
--output-on-failure
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -216,18 +216,18 @@ jobs:
uses: actions/cache@v4
with:
path: opencv/
key: ${{runner.os}}-opencv-4.9.0-${{matrix.arch}}-${{matrix.msvc}}-${{matrix.build_type}}
key: ${{runner.os}}-opencv-4.10.0-${{matrix.arch}}-${{matrix.msvc}}-${{matrix.build_type}}

- name: Download OpenCV
if: steps.cache-opencv.outputs.cache-hit != 'true'
run: |
(New-Object System.Net.WebClient).DownloadFile("https://github.com/opencv/opencv/archive/refs/tags/4.9.0.zip", "4.9.0.zip");
7z x 4.9.0.zip;
(New-Object System.Net.WebClient).DownloadFile("https://github.com/opencv/opencv/archive/refs/tags/4.10.0.zip", "4.10.0.zip");
7z x 4.10.0.zip;
- name: Setup OpenCV
if: steps.cache-opencv.outputs.cache-hit != 'true'
run: |
cmake -S opencv-4.9.0 -B build-opencv `
cmake -S opencv-4.10.0 -B build-opencv `
-A ${{matrix.arch}} `
-DBUILD_LIST="core,imgproc" `
-DCMAKE_INSTALL_PREFIX=${{github.workspace}}/opencv
Expand Down

0 comments on commit 5205e9f

Please sign in to comment.