File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change 61
61
run :
62
62
shell : bash
63
63
env :
64
- OPENCV_DOWNLOAD_PATH : " $BINARIES_CACHE"
65
64
CMAKE_OPT : >-
66
65
-DCL_Z_OPTION=/Z7
67
66
-DBUILD_EXAMPLES=ON
@@ -115,8 +114,25 @@ jobs:
115
114
timeout-minutes : 60
116
115
working-directory : ' ${{ github.workspace }}'
117
116
run : |
118
- # ls -lR '${{ env.DNN_MODELS }}'
119
117
python opencv_extra/testdata/dnn/download_models.py \
120
118
--cleanup \
121
119
--dst '${{ env.DNN_MODELS }}/dnn'
122
120
echo "OPENCV_DNN_TEST_DATA_PATH=${{ env.DNN_MODELS }}" >> $GITHUB_ENV
121
+
122
+
123
+ - if : ${{ github.event.repository.name != 'opencv_contrib' }}
124
+ name : Configure and build OpenCV
125
+ uses : ./configure-and-build
126
+ with :
127
+ workdir : ' ${{ github.workspace }}'
128
+ builddir : ' build'
129
+ generator : ' Visual Studio 16 2019'
130
+ options : ' -A x64 ${{ env.CMAKE_OPT }}'
131
+
132
+ - name : Configure and build OpenCV with contrib
133
+ uses : ./configure-and-build
134
+ with :
135
+ workdir : ' ${{ github.workspace }}'
136
+ builddir : ' build-contrib'
137
+ generator : ' Visual Studio 16 2019'
138
+ options : ' -A x64 -DOPENCV_EXTRA_MODULES_PATH=opencv_contrib/modules ${{ env.CMAKE_OPT }}'
You can’t perform that action at this time.
0 commit comments