shithub: dav1d

Download patch

ref: 3e31a6ec73975f21b65ae08d56d9f2d6ed689e84
parent: 152391b28de5d6d5cc257492596b5cfcac746971
author: Matthias Dressel <code@deadcode.eu>
date: Fri Apr 3 16:14:06 EDT 2020

CI: Run conformance tests with different instruction sets

--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -344,6 +344,18 @@
         - git clone cache/dav1d-test-data.git tests/dav1d-test-data
     dependencies: []
 
+.test-debian-asm:
+    extends:
+        - .debian-amd64-common
+        - .test-common
+    needs: ["build-debian"]
+    script:
+        - meson build --buildtype release
+                      -Dtestdata_tests=true
+                      -Dlogging=false
+        - ninja -C build
+        - cd build && time meson test -v --suite testdata-8 --suite testdata-10 --suite testdata-12 --test-args "--cpumask $ASM"
+
 test-debian:
     extends:
         - .debian-amd64-common
@@ -355,6 +367,35 @@
                       -Dlogging=false
         - ninja -C build
         - cd build && time meson test -v
+
+test-debian-sse2:
+    extends: .test-debian-asm
+    variables:
+        ASM: sse2
+
+test-debian-ssse3:
+    extends: .test-debian-asm
+    variables:
+        ASM: ssse3
+
+test-debian-sse41:
+    extends: .test-debian-asm
+    variables:
+        ASM: sse41
+
+test-debian-avx2:
+    extends: .test-debian-asm
+    variables:
+        ASM: avx2
+    tags:
+        - docker
+        - amd64
+        - avx2
+
+test-debian-c:
+    extends: .test-debian-asm
+    variables:
+        ASM: 0
 
 test-debian-unaligned-stack:
     extends: