Skip to content

Commit 78fdf25

Browse files
authored
Gradle cache for android workflows (#66)
1 parent db5a693 commit 78fdf25

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/OCV-PR-4.x-Android.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222

2323
jobs:
2424
BuildAndTest:
25-
runs-on: opencv-cn-lin-x86-64
25+
runs-on: opencv-cn-lin-x86-64-android
2626
defaults:
2727
run:
2828
shell: bash
@@ -31,6 +31,7 @@ jobs:
3131
volumes:
3232
- /home/opencv-cn/git_cache:/home/ci/git_cache
3333
- /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache
34+
- /home/opencv-cn/gradle_cache:/home/ci/.gradle
3435
steps:
3536
- name: Brief system information
3637
timeout-minutes: 60

.github/workflows/OCV-PR-5.x-Android.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222

2323
jobs:
2424
BuildAndTest:
25-
runs-on: opencv-cn-lin-x86-64
25+
runs-on: opencv-cn-lin-x86-64-android
2626
defaults:
2727
run:
2828
shell: bash
@@ -31,6 +31,7 @@ jobs:
3131
volumes:
3232
- /home/opencv-cn/git_cache:/home/ci/git_cache
3333
- /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache
34+
- /home/opencv-cn/gradle_cache:/home/ci/.gradle
3435
steps:
3536
- name: Brief system information
3637
timeout-minutes: 60

0 commit comments

Comments
 (0)