Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-test-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
cache-from: |
type=gha,scope=${{ github.ref_name }}
type=gha,scope=main
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}
cache-to: type=gha,mode=min,scope=${{ github.ref_name }}
5 changes: 2 additions & 3 deletions .github/workflows/linux-arm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
env:
DEBIAN_FRONTEND: noninteractive
OPENCV_VERSION: 4.13.0
OPENCV_CACHE_VERSION: 1

jobs:
build:
Expand Down Expand Up @@ -54,7 +53,7 @@ jobs:
uses: actions/cache/restore@v5
with:
path: ${{ github.workspace }}/opencv_artifacts/
key: opencv-arm-${{ env.OPENCV_VERSION }}-rev${{ env.OPENCV_CACHE_VERSION }}
key: opencv-arm-${{ env.OPENCV_VERSION }}

- name: Checkout OpenCV
if: steps.opencv-cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -125,7 +124,7 @@ jobs:
uses: actions/cache/save@v5
with:
path: ${{ github.workspace }}/opencv_artifacts/
key: opencv-arm-${{ env.OPENCV_VERSION }}-rev${{ env.OPENCV_CACHE_VERSION }}
key: opencv-arm-${{ env.OPENCV_VERSION }}

- name: Build OpenCvSharpExtern
run: |
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/ubuntu-slim.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
env:
DEBIAN_FRONTEND: noninteractive
OPENCV_VERSION: 4.13.0
OPENCV_CACHE_VERSION: 1

jobs:
build_test:
Expand Down Expand Up @@ -50,8 +49,10 @@ jobs:
id: opencv-cache
uses: actions/cache/restore@v5
with:
path: ${{ github.workspace }}/opencv_artifacts_slim/
key: opencv-${{ env.OPENCV_VERSION }}-ubuntu-${{ matrix.ubuntu }}-slim-rev${{ env.OPENCV_CACHE_VERSION }}
path: |
${{ github.workspace }}/opencv_artifacts_slim/include
${{ github.workspace }}/opencv_artifacts_slim/lib
key: opencv-${{ env.OPENCV_VERSION }}-ubuntu-${{ matrix.ubuntu }}-slim

- name: Checkout OpenCV
if: steps.opencv-cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -131,8 +132,10 @@ jobs:
if: steps.opencv-cache.outputs.cache-hit != 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/cache/save@v5
with:
path: ${{ github.workspace }}/opencv_artifacts_slim/
key: opencv-${{ env.OPENCV_VERSION }}-ubuntu-${{ matrix.ubuntu }}-slim-rev${{ env.OPENCV_CACHE_VERSION }}
path: |
${{ github.workspace }}/opencv_artifacts_slim/include
${{ github.workspace }}/opencv_artifacts_slim/lib
key: opencv-${{ env.OPENCV_VERSION }}-ubuntu-${{ matrix.ubuntu }}-slim

- name: Build OpenCvSharpExtern (slim)
run: |
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
env:
DEBIAN_FRONTEND: noninteractive
OPENCV_VERSION: 4.13.0
OPENCV_CACHE_VERSION: 2

jobs:
build_test:
Expand Down Expand Up @@ -61,8 +60,10 @@ jobs:
id: opencv-cache
uses: actions/cache/restore@v5
with:
path: ${{ github.workspace }}/opencv_artifacts/
key: opencv-${{ env.OPENCV_VERSION }}-ubuntu-${{ matrix.ubuntu }}-rev${{ env.OPENCV_CACHE_VERSION }}
path: |
${{ github.workspace }}/opencv_artifacts/include
${{ github.workspace }}/opencv_artifacts/lib
key: opencv-${{ env.OPENCV_VERSION }}-ubuntu-${{ matrix.ubuntu }}

- name: Checkout OpenCV
if: steps.opencv-cache.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -132,8 +133,10 @@ jobs:
if: steps.opencv-cache.outputs.cache-hit != 'true' && github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/cache/save@v5
with:
path: ${{ github.workspace }}/opencv_artifacts/
key: opencv-${{ env.OPENCV_VERSION }}-ubuntu-${{ matrix.ubuntu }}-rev${{ env.OPENCV_CACHE_VERSION }}
path: |
${{ github.workspace }}/opencv_artifacts/include
${{ github.workspace }}/opencv_artifacts/lib
key: opencv-${{ env.OPENCV_VERSION }}-ubuntu-${{ matrix.ubuntu }}

- name: Build OpenCvSharpExtern
run: |
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
env:
DEBIAN_FRONTEND: noninteractive
OPENCV_VERSION: 4.13.0
OPENCV_CACHE_VERSION: 1
EM_VERSION: 4.0.23
EM_CACHE_FOLDER: 'emsdk-cache'

Expand Down Expand Up @@ -59,7 +58,7 @@ jobs:
uses: actions/cache/restore@v5
with:
path: ${{ github.workspace }}/opencv_wasm/
key: opencv-${{ env.OPENCV_VERSION }}-wasm-${{ env.EM_VERSION }}-rev${{ env.OPENCV_CACHE_VERSION }}
key: opencv-${{ env.OPENCV_VERSION }}-wasm-${{ env.EM_VERSION }}

- name: Setup Emscripten cache
id: cache-system-libraries
Expand Down Expand Up @@ -140,7 +139,7 @@ jobs:
uses: actions/cache/save@v5
with:
path: ${{ github.workspace }}/opencv_wasm/
key: opencv-${{ env.OPENCV_VERSION }}-wasm-${{ env.EM_VERSION }}-rev${{ env.OPENCV_CACHE_VERSION }}
key: opencv-${{ env.OPENCV_VERSION }}-wasm-${{ env.EM_VERSION }}

- name: Build OpenCvSharpExtern
run: |
Expand Down
Loading