summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-26 11:40:18 +0000
committerGitHub <noreply@github.com>2021-09-26 11:40:18 +0000
commitb5e9e56eb16f74146191e4fb617e452812146956 (patch)
tree8b757b05340e12defd12b78966ceb9cf0d622697 /.github
parente54b7948a1e881ebedbbb1f72a3a3fe18ff9b487 (diff)
Update cmake.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/cmake.yml13
1 files changed, 10 insertions, 3 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index 93633e78..15313f98 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -31,10 +31,12 @@ jobs:
run: sudo apt update && sudo apt install libprocps-dev libopencv-dev
if: matrix.os == 'ubuntu-latest'
- - uses: actions/checkout@v2
- - uses: Dovyski/setup-opencv-action@v1
+ - name: Cache OpenCV
+ id: cache-open-cv
+ uses: actions/cache@v1
with:
- opencv-version: master
+ path: ../OpenCV
+ key: ${{ runner.os }}-OpenCVCache
- name: Cache Qt
id: cache-qt
@@ -42,6 +44,11 @@ jobs:
with:
path: ../Qt
key: ${{ runner.os }}-QtCache
+
+ - name: Install OpenCV
+ uses: florianblume/install-opencv-action@v1
+ with:
+ cached: ${{ steps.cache-open-cv.outputs.cache-hit }}
- name: Install Qt
uses: jurplel/install-qt-action@v2