diff options
Diffstat (limited to 'chromium/third_party/dav1d/libdav1d/.gitlab-ci.yml')
-rw-r--r-- | chromium/third_party/dav1d/libdav1d/.gitlab-ci.yml | 104 |
1 files changed, 62 insertions, 42 deletions
diff --git a/chromium/third_party/dav1d/libdav1d/.gitlab-ci.yml b/chromium/third_party/dav1d/libdav1d/.gitlab-ci.yml index 6847c5f884b..cec6c35409d 100644 --- a/chromium/third_party/dav1d/libdav1d/.gitlab-ci.yml +++ b/chromium/third_party/dav1d/libdav1d/.gitlab-ci.yml @@ -4,49 +4,49 @@ stages: - test .debian-amd64-common: - image: registry.videolan.org/dav1d-debian-unstable:20211102173310 + image: registry.videolan.org/dav1d-debian-unstable:20220811102309 + stage: build + tags: + - docker + - amd64 + +.debian-amd64-minimum: + image: registry.videolan.org/dav1d-debian-minimum:20220811102156 stage: build tags: - docker - amd64 .debian-llvm-mingw-common: - image: registry.videolan.org/vlc-debian-llvm-mingw:20201201162707 + image: registry.videolan.org/vlc-debian-llvm-mingw:20220819151034 stage: build tags: - docker - amd64 .debian-aarch64-common: - image: registry.videolan.org/dav1d-debian-bullseye-aarch64:20211006142507 + image: registry.videolan.org/dav1d-debian-bullseye-aarch64:20220822160907 stage: build tags: - docker - aarch64 .debian-armv7-common: - image: registry.videolan.org/dav1d-debian-bullseye-armv7:20211004204031 + image: registry.videolan.org/dav1d-debian-bullseye-armv7:20220823100731 stage: build tags: - docker - armv7 .debian-ppc64le-common: - image: registry.videolan.org/dav1d-debian-unstable-ppc64le:20211006193415 + image: registry.videolan.org/dav1d-debian-unstable-ppc64le:20220812184538 stage: build tags: - docker - ppc64le -.ubuntu-common: - image: registry.videolan.org/dav1d-ubuntu-bionic:20211005085855 - stage: build - tags: - - docker - - amd64 - .android-common: - image: registry.videolan.org/vlc-debian-android:20200529135226 + image: registry.videolan.org/vlc-debian-android:20220811103057 stage: build tags: - docker @@ -101,6 +101,7 @@ build-debian: - amd64 script: - meson build --buildtype release + -Dtrim_dsp=false --werror - ninja -C build - cd build && meson test -v @@ -194,6 +195,15 @@ build-debian-avx: - cd build - time meson test -v --suite checkasm +build-debian-minimum: + extends: .debian-amd64-minimum + script: + - meson build --buildtype release + --werror + -Dtrim_dsp=false + - ninja -C build + - cd build && meson test -v + build-debian-avx512: extends: .debian-amd64-common tags: @@ -208,6 +218,18 @@ build-debian-avx512: - cd build - time meson test -v --suite checkasm +build-debian-clang14: + extends: .debian-amd64-common + variables: + CC: clang + CC_LD: mold + script: + - meson build --buildtype release + --werror + -Dtrim_dsp=false + - ninja -C build + - cd build && meson test -v + build-win32: extends: .debian-amd64-common script: @@ -218,6 +240,7 @@ build-win32: --prefix "$(pwd)/build/dav1d_install" --cross-file package/crossfiles/i686-w64-mingw32.meson -Ddefault_library=both + -Dtrim_dsp=false - ninja -C build - ninja -C build install - cd build && meson test -v @@ -236,6 +259,7 @@ build-win32-unaligned-stack: --werror --cross-file package/crossfiles/i686-w64-mingw32.meson -Dstack_alignment=4 + -Dtrim_dsp=false - ninja -C build - cd build && meson test -v @@ -249,6 +273,7 @@ build-win64: --prefix "$(pwd)/build/dav1d_install" --cross-file package/crossfiles/x86_64-w64-mingw32.meson -Ddefault_library=both + -Dtrim_dsp=false - ninja -C build - ninja -C build install - cd build && meson test -v @@ -268,6 +293,7 @@ build-win-arm32: --prefix "$(pwd)/build/dav1d_install" --cross-file /opt/crossfiles/armv7-w64-mingw32.meson -Ddefault_library=both + -Dtrim_dsp=false - ninja -C build - armv7-w64-mingw32-nm -A -g build/src/libdav1d.a | grep " [ABCDGRST] " | (! grep -E -v " \.| _*dav1d_") @@ -280,6 +306,7 @@ build-win-arm64: --prefix "$(pwd)/build/dav1d_install" --cross-file /opt/crossfiles/aarch64-w64-mingw32.meson -Ddefault_library=both + -Dtrim_dsp=false - ninja -C build - ninja -C build install - aarch64-w64-mingw32-nm -A -g build/src/libdav1d.a | grep " [ABCDGRST] " | (! grep -E -v " \.| _*dav1d_") @@ -298,6 +325,7 @@ build-win-arm64: --prefix "$(pwd)/build/dav1d_install" --cross-file $CROSSFILE -Ddefault_library=both + -Dtrim_dsp=false - ninja -C build - ninja -C build install @@ -361,10 +389,11 @@ build-macos: stage: build tags: - amd64 - - catalina + - macos script: - meson build --buildtype release -Ddefault_library=both + -Dtrim_dsp=false --werror - ninja -C build - cd build && meson test -v @@ -396,29 +425,11 @@ build-debian-armv7-clang-5: - ninja -C build - cd build && meson test -v -build-ubuntu-snap: - extends: .ubuntu-common - script: - - cd package/snap && snapcraft snap - - | - if [ "$CI_PROJECT_NAMESPACE" = "videolan" ]; then - SNAP_CHANNEL=edge - if [ "$CI_COMMIT_TAG" ]; then SNAP_CHANNEL=stable; fi - echo $SNAP_LOGIN | base64 --decode | snapcraft login --with - - snapcraft push dav1d_*.snap --release $SNAP_CHANNEL - snapcraft logout - fi - artifacts: - name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" - paths: - - package/snap/dav1d_*.snap - expire_in: 1 week - allow_failure: true - build-debian-ppc64le: extends: .debian-ppc64le-common script: - meson build --buildtype release + -Dtrim_dsp=false --werror - ninja -C build - cd build && meson test -v @@ -472,6 +483,7 @@ test-debian: -Dtestdata_tests=true -Dlogging=false -Db_coverage=true + -Dtrim_dsp=false - ninja -C build - cd build && time meson test -v - ninja coverage-html @@ -488,7 +500,9 @@ test-debian: paths: - coverage/ reports: - cobertura: build/meson-logs/coverage.xml + coverage_report: + coverage_format: cobertura + path: build/meson-logs/coverage.xml test-debian-asm: extends: @@ -515,6 +529,7 @@ test-debian-avx512: script: - meson build --buildtype release -Dtestdata_tests=true + -Dtrim_dsp=false - ninja -C build - cd build && time meson test --suite testdata-8 --suite testdata-10 --suite testdata-12 --test-args "--cpumask avx512icl" - time meson test --suite testdata-8 --suite testdata-10 --suite testdata-12 --test-args "--threads 2 --framedelay 2 --cpumask avx512icl" @@ -533,6 +548,7 @@ test-debian-unaligned-stack: -Dtestdata_tests=true -Dlogging=false -Dstack_alignment=16 + -Dtrim_dsp=false - ninja -C build - cd build && time meson test -v @@ -630,6 +646,7 @@ test-win64: - meson build --buildtype release -Dtestdata_tests=true -Dlogging=false + -Dtrim_dsp=false --cross-file package/crossfiles/x86_64-w64-mingw32.meson - ninja -C build - cd build && time meson test -v @@ -643,6 +660,7 @@ test-debian-aarch64: - meson build --buildtype release -Dtestdata_tests=true -Dlogging=false + -Dtrim_dsp=false - ninja -C build - cd build && time meson test -v @@ -655,6 +673,7 @@ test-debian-ppc64le: - meson build --buildtype release -Dtestdata_tests=true -Dlogging=false + -Dtrim_dsp=false - ninja -C build - cd build && time meson test -v @@ -670,6 +689,7 @@ test-debian-armv7-clang-5: - linux32 meson build --buildtype release -Dtestdata_tests=true -Dlogging=false + -Dtrim_dsp=false - ninja -C build - cd build && time meson test -v @@ -688,14 +708,14 @@ test-debian-armv7-clang-5: build-pages: extends: .pages-common - except: - refs: - - master + rules: + - if: '$CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH' pages: extends: .pages-common - only: - refs: - - master - changes: - - include/dav1d/* + rules: + - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' + changes: + - include/dav1d/* + - doc/meson.build + - doc/Doxyfile.in.in |