From d91a776d475c35ecf523c5bebe25c92a831a122c Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov <2536374+asmorkalov@users.noreply.github.com> Date: Tue, 25 Apr 2023 15:34:08 +0300 Subject: [PATCH] Docker images update to include svg rendering libs for Python (#93) * Docker images update to include svg rendering libs for Python. * Test python based tools as dedicated entity. --- .github/workflows/OCV-Contrib-PR-3.4-ARM64.yaml | 2 +- .github/workflows/OCV-Contrib-PR-3.4-U20.yaml | 2 +- .github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml | 12 ++++++++++-- .github/workflows/OCV-Contrib-PR-4.x-U20-Cuda.yaml | 2 +- .github/workflows/OCV-Contrib-PR-4.x-U20.yaml | 12 ++++++++++-- .github/workflows/OCV-Contrib-PR-5.x-ARM64.yaml | 12 ++++++++++-- .github/workflows/OCV-Contrib-PR-5.x-U20-Cuda.yaml | 2 +- .github/workflows/OCV-Contrib-PR-5.x-U20.yaml | 12 ++++++++++-- .github/workflows/OCV-PR-3.4-ARM64.yaml | 4 ++-- .github/workflows/OCV-PR-3.4-U20.yaml | 4 ++-- .github/workflows/OCV-PR-4.x-ARM64-Debug.yaml | 4 ++-- .github/workflows/OCV-PR-4.x-ARM64.yaml | 14 +++++++++++--- .github/workflows/OCV-PR-4.x-U20-Cuda.yaml | 2 +- .github/workflows/OCV-PR-4.x-U20.yaml | 14 +++++++++++--- .github/workflows/OCV-PR-5.x-ARM64-Debug.yaml | 4 ++-- .github/workflows/OCV-PR-5.x-ARM64.yaml | 14 +++++++++++--- .github/workflows/OCV-PR-5.x-U20-Cuda.yaml | 2 +- .github/workflows/OCV-PR-5.x-U20.yaml | 14 +++++++++++--- 18 files changed, 98 insertions(+), 34 deletions(-) diff --git a/.github/workflows/OCV-Contrib-PR-3.4-ARM64.yaml b/.github/workflows/OCV-Contrib-PR-3.4-ARM64.yaml index 1ff2ddc5..aab09449 100644 --- a/.github/workflows/OCV-Contrib-PR-3.4-ARM64.yaml +++ b/.github/workflows/OCV-Contrib-PR-3.4-ARM64.yaml @@ -34,7 +34,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv_contrib:/home/ci/.ccache diff --git a/.github/workflows/OCV-Contrib-PR-3.4-U20.yaml b/.github/workflows/OCV-Contrib-PR-3.4-U20.yaml index 1b4846ff..9f7623db 100644 --- a/.github/workflows/OCV-Contrib-PR-3.4-U20.yaml +++ b/.github/workflows/OCV-Contrib-PR-3.4-U20.yaml @@ -34,7 +34,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv_contrib:/home/ci/.ccache diff --git a/.github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml b/.github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml index e71def86..5f2ab9d6 100644 --- a/.github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml +++ b/.github/workflows/OCV-Contrib-PR-4.x-ARM64.yaml @@ -34,7 +34,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv_contrib:/home/ci/.ccache @@ -417,12 +417,20 @@ jobs: timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} run: cd $HOME/build && xvfb-run -a bin/opencv_perf_xphoto --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --gtest_filter=${{ env.GTEST_FILTER_STRING }} --perf_threads=${{ env.PARALLEL_JOBS }} - - name: Python3 + - name: Python3 Bindings timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} run: | cd $HOME/build python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v + - name: Python3 Apps + timeout-minutes: 60 + if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} + run: | + cd $HOME/build + if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then + python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v + fi - name: Java timeout-minutes: 60 id: java-test diff --git a/.github/workflows/OCV-Contrib-PR-4.x-U20-Cuda.yaml b/.github/workflows/OCV-Contrib-PR-4.x-U20-Cuda.yaml index e443e87a..dad1fce3 100644 --- a/.github/workflows/OCV-Contrib-PR-4.x-U20-Cuda.yaml +++ b/.github/workflows/OCV-Contrib-PR-4.x-U20-Cuda.yaml @@ -31,7 +31,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 options: --gpus all -m 8G volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache diff --git a/.github/workflows/OCV-Contrib-PR-4.x-U20.yaml b/.github/workflows/OCV-Contrib-PR-4.x-U20.yaml index a9082727..40c51f4a 100644 --- a/.github/workflows/OCV-Contrib-PR-4.x-U20.yaml +++ b/.github/workflows/OCV-Contrib-PR-4.x-U20.yaml @@ -34,7 +34,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230410 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv_contrib:/home/ci/.ccache @@ -425,12 +425,20 @@ jobs: timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} run: cd $HOME/build && xvfb-run -a bin/opencv_perf_xphoto --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --gtest_filter=${{ env.GTEST_FILTER_STRING }} --perf_threads=${{ env.PARALLEL_JOBS }} - - name: Python3 + - name: Python3 Bindings timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} run: | cd $HOME/build python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v + - name: Python3 Apps + timeout-minutes: 60 + if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} + run: | + cd $HOME/build + if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then + python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v + fi - name: Java timeout-minutes: 60 id: java-test diff --git a/.github/workflows/OCV-Contrib-PR-5.x-ARM64.yaml b/.github/workflows/OCV-Contrib-PR-5.x-ARM64.yaml index 9e9c9655..57f23ed4 100644 --- a/.github/workflows/OCV-Contrib-PR-5.x-ARM64.yaml +++ b/.github/workflows/OCV-Contrib-PR-5.x-ARM64.yaml @@ -34,7 +34,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv_contrib:/home/ci/.ccache @@ -419,12 +419,20 @@ jobs: timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} run: cd $HOME/build && xvfb-run -a bin/opencv_perf_xstereo --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --gtest_filter=${{ env.GTEST_FILTER_STRING }} --perf_threads=${{ env.PARALLEL_JOBS }} - - name: Python3 + - name: Python3 Bingings timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} run: | cd $HOME/build python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v + - name: Python3 Apps + timeout-minutes: 60 + if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} + run: | + cd $HOME/build + if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then + python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v + fi - name: Java timeout-minutes: 60 id: java-test diff --git a/.github/workflows/OCV-Contrib-PR-5.x-U20-Cuda.yaml b/.github/workflows/OCV-Contrib-PR-5.x-U20-Cuda.yaml index a29961e4..74ecde4c 100644 --- a/.github/workflows/OCV-Contrib-PR-5.x-U20-Cuda.yaml +++ b/.github/workflows/OCV-Contrib-PR-5.x-U20-Cuda.yaml @@ -31,7 +31,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 options: --gpus all -m 8G volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache diff --git a/.github/workflows/OCV-Contrib-PR-5.x-U20.yaml b/.github/workflows/OCV-Contrib-PR-5.x-U20.yaml index fdbf2c9f..28108e2b 100644 --- a/.github/workflows/OCV-Contrib-PR-5.x-U20.yaml +++ b/.github/workflows/OCV-Contrib-PR-5.x-U20.yaml @@ -34,7 +34,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230410 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv_contrib:/home/ci/.ccache @@ -427,12 +427,20 @@ jobs: timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} run: cd $HOME/build && xvfb-run -a bin/opencv_perf_xstereo --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }} - - name: Python3 + - name: Python3 Bingings timeout-minutes: 60 if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} run: | cd $HOME/build python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v + - name: Python3 Apps + timeout-minutes: 60 + if: ${{ always() && steps.build-opencv-contrib.outcome == 'success' }} + run: | + cd $HOME/build + if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then + python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v + fi - name: Java timeout-minutes: 60 id: java-test diff --git a/.github/workflows/OCV-PR-3.4-ARM64.yaml b/.github/workflows/OCV-PR-3.4-ARM64.yaml index d748a3a3..62a90b6a 100644 --- a/.github/workflows/OCV-PR-3.4-ARM64.yaml +++ b/.github/workflows/OCV-PR-3.4-ARM64.yaml @@ -33,7 +33,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache @@ -255,7 +255,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache diff --git a/.github/workflows/OCV-PR-3.4-U20.yaml b/.github/workflows/OCV-PR-3.4-U20.yaml index ccab7ad4..17f2a81b 100644 --- a/.github/workflows/OCV-PR-3.4-U20.yaml +++ b/.github/workflows/OCV-PR-3.4-U20.yaml @@ -33,7 +33,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache @@ -260,7 +260,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache diff --git a/.github/workflows/OCV-PR-4.x-ARM64-Debug.yaml b/.github/workflows/OCV-PR-4.x-ARM64-Debug.yaml index f7c37b82..ce918469 100644 --- a/.github/workflows/OCV-PR-4.x-ARM64-Debug.yaml +++ b/.github/workflows/OCV-PR-4.x-ARM64-Debug.yaml @@ -32,7 +32,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache @@ -182,7 +182,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache diff --git a/.github/workflows/OCV-PR-4.x-ARM64.yaml b/.github/workflows/OCV-PR-4.x-ARM64.yaml index 5c5cfc74..9c70411d 100644 --- a/.github/workflows/OCV-PR-4.x-ARM64.yaml +++ b/.github/workflows/OCV-PR-4.x-ARM64.yaml @@ -33,7 +33,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache @@ -219,12 +219,20 @@ jobs: timeout-minutes: 60 if: ${{ always() && steps.build-opencv.outcome == 'success' }} run: cd $HOME/build && xvfb-run -a bin/opencv_perf_videoio --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }} - - name: Python3 + - name: Python3 Bindings timeout-minutes: 60 if: ${{ always() && steps.build-opencv.outcome == 'success' }} run: | cd $HOME/build python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v + - name: Python3 Apps + timeout-minutes: 60 + if: ${{ always() && steps.build-opencv.outcome == 'success' }} + run: | + cd $HOME/build + if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then + python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v + fi - name: Java timeout-minutes: 60 id: java-test @@ -244,7 +252,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache diff --git a/.github/workflows/OCV-PR-4.x-U20-Cuda.yaml b/.github/workflows/OCV-PR-4.x-U20-Cuda.yaml index 611387ef..5649cb7f 100644 --- a/.github/workflows/OCV-PR-4.x-U20-Cuda.yaml +++ b/.github/workflows/OCV-PR-4.x-U20-Cuda.yaml @@ -32,7 +32,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 options: --gpus all -m 8G volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache diff --git a/.github/workflows/OCV-PR-4.x-U20.yaml b/.github/workflows/OCV-PR-4.x-U20.yaml index fe9743be..07e78df8 100644 --- a/.github/workflows/OCV-PR-4.x-U20.yaml +++ b/.github/workflows/OCV-PR-4.x-U20.yaml @@ -33,7 +33,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230410 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache @@ -228,12 +228,20 @@ jobs: timeout-minutes: 60 if: ${{ always() && steps.build-opencv.outcome == 'success' }} run: cd $HOME/build && xvfb-run -a bin/opencv_perf_videoio --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }} - - name: Python3 + - name: Python3 Bindings timeout-minutes: 60 if: ${{ always() && steps.build-opencv.outcome == 'success' }} run: | cd $HOME/build python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v + - name: Python3 Apps + timeout-minutes: 60 + if: ${{ always() && steps.build-opencv.outcome == 'success' }} + run: | + cd $HOME/build + if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then + python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v + fi - name: Java timeout-minutes: 60 id: java-test @@ -257,7 +265,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230410 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache diff --git a/.github/workflows/OCV-PR-5.x-ARM64-Debug.yaml b/.github/workflows/OCV-PR-5.x-ARM64-Debug.yaml index 65c57052..66079819 100644 --- a/.github/workflows/OCV-PR-5.x-ARM64-Debug.yaml +++ b/.github/workflows/OCV-PR-5.x-ARM64-Debug.yaml @@ -32,7 +32,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache @@ -190,7 +190,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache diff --git a/.github/workflows/OCV-PR-5.x-ARM64.yaml b/.github/workflows/OCV-PR-5.x-ARM64.yaml index ab23084e..f857a577 100644 --- a/.github/workflows/OCV-PR-5.x-ARM64.yaml +++ b/.github/workflows/OCV-PR-5.x-ARM64.yaml @@ -33,7 +33,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache @@ -235,12 +235,20 @@ jobs: timeout-minutes: 60 if: ${{ always() && steps.build-opencv.outcome == 'success' }} run: cd $HOME/build && xvfb-run -a bin/opencv_perf_videoio --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }} - - name: Python3 + - name: Python3 Bindings timeout-minutes: 60 if: ${{ always() && steps.build-opencv.outcome == 'success' }} run: | cd $HOME/build python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v + - name: Python3 Apps + timeout-minutes: 60 + if: ${{ always() && steps.build-opencv.outcome == 'success' }} + run: | + cd $HOME/build + if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then + python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v + fi - name: Java timeout-minutes: 60 id: java-test @@ -260,7 +268,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04-arm64:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache diff --git a/.github/workflows/OCV-PR-5.x-U20-Cuda.yaml b/.github/workflows/OCV-PR-5.x-U20-Cuda.yaml index e6c32b9b..f8958715 100644 --- a/.github/workflows/OCV-PR-5.x-U20-Cuda.yaml +++ b/.github/workflows/OCV-PR-5.x-U20-Cuda.yaml @@ -32,7 +32,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20220901 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 options: --gpus all -m 8G volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache diff --git a/.github/workflows/OCV-PR-5.x-U20.yaml b/.github/workflows/OCV-PR-5.x-U20.yaml index 07af0f4e..f8bb1631 100644 --- a/.github/workflows/OCV-PR-5.x-U20.yaml +++ b/.github/workflows/OCV-PR-5.x-U20.yaml @@ -33,7 +33,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230410 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache @@ -242,12 +242,20 @@ jobs: timeout-minutes: 60 if: ${{ always() && steps.build-opencv.outcome == 'success' }} run: cd $HOME/build && xvfb-run -a bin/opencv_perf_videoio --perf_impl=plain --perf_min_samples=1 --perf_force_samples=1 --perf_verify_sanity --skip_unstable=1 --perf_threads=${{ env.PARALLEL_JOBS }} - - name: Python3 + - name: Python3 Bindings timeout-minutes: 60 if: ${{ always() && steps.build-opencv.outcome == 'success' }} run: | cd $HOME/build python3 $HOME/opencv/modules/python/test/test.py --repo $HOME/opencv -v + - name: Python3 Apps + timeout-minutes: 60 + if: ${{ always() && steps.build-opencv.outcome == 'success' }} + run: | + cd $HOME/build + if [ -f "$HOME/opencv/apps/python_app_test.py" ]; then + python3 "$HOME/opencv/apps/python_app_test.py" --repo $HOME/opencv -v + fi - name: Java timeout-minutes: 60 id: java-test @@ -271,7 +279,7 @@ jobs: run: shell: bash container: - image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230410 + image: quay.io/opencv-ci/opencv-ubuntu-20.04:20230413 volumes: - /home/opencv-cn/git_cache:/home/ci/git_cache - /home/opencv-cn/ci_cache/opencv:/home/ci/.ccache