uvg266/.gitlab-ci.yml

65 lines
1.8 KiB
YAML
Raw Normal View History

# Use Kvazaar CI base image which includes the build tools and ffmpeg + hmdec in ${HOME}/bin
image: ultravideo/kvazaar_ci_base:latest
2018-06-07 06:59:28 +00:00
# Build and test kvazaar
test-kvazaar: &test-template
stage: test
2018-06-07 06:59:28 +00:00
script:
- bash .travis-install.bash
- export PATH="${HOME}/bin:${PATH}"
2018-06-07 06:59:28 +00:00
- ./autogen.sh
2021-11-29 14:35:03 +00:00
- ./configure --enable-werror || (cat config.log && false)
- make --jobs=8
- make check --jobs=8 VERBOSE=1
2018-06-08 07:08:27 +00:00
artifacts:
paths:
- src/kvazaar
- src/.libs
expire_in: 1 week
test-asan:
<<: *test-template
variables:
2021-11-22 11:34:59 +00:00
CFLAGS: '-fsanitize=address -g'
# LeakSanitizer doesn't work inside the container because it requires
# ptrace so we disable it.
ASAN_OPTIONS: 'detect_leaks=0'
# AddressSanitizer adds some extra symbols so we expect a failure from
# the external symbols test.
XFAIL_TESTS: test_external_symbols.sh
2020-10-13 11:45:15 +00:00
#test-tsan:
# <<: *test-template
# variables:
# CFLAGS: '-fsanitize=thread'
# # Temporarily suppress known errors or false positives.
# TSAN_OPTIONS: 'suppressions=/builds/cs/ultravideo/kvazaar/tests/tsan_suppressions.txt'
test-ubsan:
<<: *test-template
variables:
2021-11-22 11:34:59 +00:00
CFLAGS: '-fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=alignment -g'
test-valgrind:
<<: *test-template
variables:
KVZ_TEST_VALGRIND: 1
# TODO: If someone knows YAML better, there has to be some better way to
# concatenate stuff into the test-template script than just manually copy
# pasting
2020-10-13 11:45:15 +00:00
#test-distcheck:
# <<: *test-template
# script:
# - export PATH="${HOME}/bin:${PATH}"
# - ./autogen.sh
2021-11-29 14:35:03 +00:00
# - ./configure --enable-werror || (cat config.log && false)
2020-10-13 11:45:15 +00:00
# - make --jobs=8 VERBOSE=1 distcheck
2020-09-02 14:59:52 +00:00
#test-10bit:
# <<: *test-template
# variables:
# CFLAGS: '-DKVZ_BIT_DEPTH=10'
# VAQ is not currently supported on the 10-bit build, so xfail it
#XFAIL_TESTS: test_tools.sh