9
9
workflow_call :
10
10
11
11
env :
12
- EXTRA_CMAKE_OPTIONS : ' -DBUILD_DOCS=ON -DPYTHON_DEFAULT_EXECUTABLE=/usr/bin/python3 -DOPENCV_DOWNLOAD_PATH=/home/ci/binaries_cache -DBUILD_EXAMPLES=ON -DOPENCV_ENABLE_NONFREE=ON -DWITH_CUDA=ON -DWITH_NVCUVID=ON -DCUDA_ARCH_BIN=6.1 -DWITH_VA=OFF'
12
+ EXTRA_CMAKE_OPTIONS : ' -DBUILD_DOCS=ON -DPYTHON_DEFAULT_EXECUTABLE=/usr/bin/python3 -DOPENCV_DOWNLOAD_PATH=/home/ci/binaries_cache -DBUILD_EXAMPLES=ON -DOPENCV_ENABLE_NONFREE=ON -DWITH_CUDA=ON -DWITH_NVCUVID=ON -DCUDA_ARCH_BIN=6.1 -DWITH_VA=OFF -DCUDA_CUDA_LIBRARY=/lib/x86_64-linux-gnu/libcuda.so.1 -DCUDA_nvcuvid_LIBRARY=/lib/x86_64-linux-gnu/libnvcuvid.so.1 '
13
13
PR_AUTHOR : ${{ github.event.pull_request.user.login }}
14
14
PR_AUTHOR_FORK : ${{ github.event.pull_request.head.repo.full_name }}
15
15
SOURCE_BRANCH_NAME : ${{ github.head_ref }}
34
34
- /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache
35
35
- /home/opencv-cn/binaries_cache:/home/ci/binaries_cache
36
36
- /usr/local/cuda:/usr/local/cuda
37
+ - /lib/x86_64-linux-gnu/libnvidia-encode.so.1:/lib/x86_64-linux-gnu/libnvidia-encode.so.1
38
+ - /lib/x86_64-linux-gnu/libnvcuvid.so.1:/lib/x86_64-linux-gnu/libnvcuvid.so.1
37
39
steps :
38
40
- name : Brief system information
39
41
timeout-minutes : 60
@@ -106,6 +108,8 @@ jobs:
106
108
cd $HOME/build
107
109
ninja -j ${{ env.PARALLEL_JOBS }} | tee $HOME/build/build-log.txt
108
110
# Tests are not stable, failures after 'CUDA/GpuMat_SetTo.Zero' test happen everytime
111
+ # The issue in CUDA_Event/AsyncEvent.Timing/*
112
+ # https://github.com/opencv/opencv_contrib/issues/3361
109
113
# - name: Accuracy:cudaarithm
110
114
# timeout-minutes: 60
111
115
# if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
@@ -114,11 +118,12 @@ jobs:
114
118
timeout-minutes : 60
115
119
if : ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
116
120
run : cd $HOME/build && xvfb-run -a bin/opencv_test_cudabgsegm --test_threads=${{ env.PARALLEL_JOBS }}
117
- # All tests fail if '-DWITH_NVCUVID=ON' flag is set
118
- # - name: Accuracy:cudacodec
119
- # timeout-minutes: 60
120
- # if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
121
- # run: cd $HOME/build && xvfb-run -a bin/opencv_test_cudacodec --test_threads=${{ env.PARALLEL_JOBS }}
121
+ - name : Accuracy:cudacodec
122
+ timeout-minutes : 60
123
+ if : ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
124
+ run : cd $HOME/build && xvfb-run -a bin/opencv_test_cudacodec --test_threads=${{ env.PARALLEL_JOBS }} --gtest_filter=${{ env.GTEST_FILTER_STRING }}
125
+ env :
126
+ GTEST_FILTER_STRING : ' -CUDA_Codec/CheckKeyFrame.Reader/8:CUDA_Codec/CheckKeyFrame.Reader/9:CUDA_Codec/Video.Reader/8:CUDA_Codec/Video.Reader/9'
122
127
- name : Accuracy:cudafeatures2d
123
128
timeout-minutes : 60
124
129
if : ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
@@ -169,11 +174,10 @@ jobs:
169
174
timeout-minutes : 60
170
175
if : ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
171
176
run : cd $HOME/build && xvfb-run -a bin/opencv_perf_cudabgsegm --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }}
172
- # All tests fail if '-DWITH_NVCUVID=ON' flag is set
173
- # - name: Performance:cudacodec
174
- # timeout-minutes: 60
175
- # if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
176
- # run: cd $HOME/build && xvfb-run -a bin/opencv_perf_cudacodec --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }}
177
+ - name : Performance:cudacodec
178
+ timeout-minutes : 60
179
+ if : ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
180
+ run : cd $HOME/build && xvfb-run -a bin/opencv_perf_cudacodec --perf_threads=${{ env.PARALLEL_JOBS }}
177
181
- name : Performance:cudafeatures2d
178
182
timeout-minutes : 60
179
183
if : ${{ always() && steps.build-opencv-contrib.outcome == 'success' }}
0 commit comments