Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dressel <code@deadcode.eu>2020-04-11 15:26:30 +0300
committerJean-Baptiste Kempf <jb@videolan.org>2020-05-12 23:17:02 +0300
commitccab22246e0e2d970804b957e829f2126dcd0a9f (patch)
treea01c4c6244016d7cda733238e5f05d6bb938570d /.gitlab-ci.yml
parentaff854e1a6896f28e9dc8c4149362c345bedbba7 (diff)
CI: Optimise instruction set tests
* The build from 'build-debian' is reused. 'logging' is not disabled since that would trigger an almost full rebuild. * All ASM tests are merged into one job which is expected to seldomly fail, therefore ease of debugging is traded in for efficiency.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml62
1 files changed, 22 insertions, 40 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 7a0f28e..cab858b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -93,6 +93,10 @@ build-debian:
--werror
- ninja -C build
- cd build && meson test -v
+ artifacts:
+ paths:
+ - build/
+ expire_in: 1 day
build-debian-static:
extends: .debian-amd64-common
@@ -347,28 +351,14 @@ build-debian-ppc64le:
- 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-mt:
extends:
- .debian-amd64-common
- .test-common
needs: ["build-debian"]
+ dependencies: ["build-debian"]
script:
- - meson build --buildtype release
- -Dtestdata_tests=true
- -Dlogging=false
- - ninja -C build
+ - meson configure build -Dtestdata_tests=true
- cd build && time meson test -v --suite testdata-8 --suite testdata-10 --suite testdata-12 --wrapper ../tests/dav1d-test-data/wrap_mt.sh
test-debian:
@@ -383,34 +373,26 @@ test-debian:
- 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
+test-debian-asm:
+ extends:
+ - .debian-amd64-common
+ - .test-common
+ needs: ["build-debian"]
+ dependencies: ["build-debian"]
tags:
- docker
- amd64
- avx2
-
-test-debian-c:
- extends: .test-debian-asm
- variables:
- ASM: 0
+ script:
+ - meson configure build -Dtestdata_tests=true
+ - cd build
+ - exit_code=0
+ - time meson test -q --suite testdata-8 --suite testdata-10 --suite testdata-12 --test-args "--cpumask 0" || exit_code=$((exit_code + $?))
+ - time meson test -q --suite testdata-8 --suite testdata-10 --suite testdata-12 --test-args "--cpumask sse2" || exit_code=$((exit_code + $?))
+ - time meson test -q --suite testdata-8 --suite testdata-10 --suite testdata-12 --test-args "--cpumask ssse3" || exit_code=$((exit_code + $?))
+ - time meson test -q --suite testdata-8 --suite testdata-10 --suite testdata-12 --test-args "--cpumask sse41" || exit_code=$((exit_code + $?))
+ - time meson test -q --suite testdata-8 --suite testdata-10 --suite testdata-12 --test-args "--cpumask avx2" || exit_code=$((exit_code + $?))
+ - if [ $exit_code -ne 0 ]; then exit $exit_code; fi
test-debian-1tt-2ft:
extends: .test-debian-mt