Newer
Older
image: registry.videolan.org/libplacebo-ubuntu-eoan:20200521131745
- amd64
script:
- meson build --buildtype release
--werror
-Dtests=true
-Dshaderc=enabled
-Dglslang=enabled
- ninja -C build
image: registry.videolan.org/libplacebo-ubuntu-eoan:20200521131745
- amd64
script:
- meson build --buildtype release
--default-library static
--werror
-Dtests=true
-Dshaderc=enabled
-Dglslang=enabled
- ninja -C build
image: registry.videolan.org/libplacebo-ubuntu-eoan:20200521131745
script:
- meson build --buildtype release
--werror
--libdir lib
--cross-file /opt/crossfiles/i686-w64-mingw32.meson
- ninja -C build
- cd build && meson test -t 5 -v
image: registry.videolan.org/libplacebo-ubuntu-eoan:20200521131745
script:
- meson build --buildtype release
--werror
--libdir lib
--cross-file /opt/crossfiles/x86_64-w64-mingw32.meson
- ninja -C build
- cd build && meson test -t 5 -v
image: registry.videolan.org/libplacebo-ubuntu-eoan-aarch64:20200525090115
- aarch64
script:
- meson build --buildtype release --werror -Dtests=true
- ninja -C build
build-macos:
stage: build
tags:
- macos
script:
- meson build --buildtype release
-Ddefault_library=both
-Dtests=true
--werror
- ninja -C build
image: registry.videolan.org/libplacebo-ubuntu-eoan:20200521131745
script:
- env CC=clang meson build --buildtype debugoptimized
--werror
-Dtests=true
-Dshaderc=enabled
-Dglslang=enabled
- ninja -C build scan-build
test-gpu:
image: registry.videolan.org/libplacebo-ubuntu-eoan:20200521131745
stage: test
tags:
- gpu
script:
- meson build --buildtype release
--werror
-Dtests=true
-Dc_args='-DCI_BLACKLIST_COMPUTE'
-Dshaderc=disabled
-Db_coverage=true
- ninja -C build
- vulkaninfo
- ninja coverage-html
- mv meson-logs/coveragereport ../coverage
- ninja coverage-xml
- grep -Eo 'line-rate="[^"]+"' meson-logs/coverage.xml | head -n 1 |
grep -Eo '[0-9.]+' | awk '{ print "coverage:", $1 * 100 } '
- coverage/
reports:
cobertura: build/meson-logs/coverage.xml
image: registry.videolan.org/libplacebo-ubuntu-eoan:20200521131745
variables:
ASAN_OPTIONS: 'detect_leaks=0'
script:
- meson build --buildtype debugoptimized
-Dtests=true
-Dc_args='-DCI_BLACKLIST_COMPUTE'
-Dshaderc=disabled
-Db_sanitize=address
image: registry.videolan.org/libplacebo-ubuntu-eoan:20200521131745
variables:
MSAN_OPTIONS: 'exitcode=1'
script:
- env CC=clang meson build --buildtype debugoptimized
-Dtests=true
-Dc_args='-DCI_BLACKLIST_COMPUTE -DMSAN'
-Dglslang=disabled
-Db_sanitize=memory
-Db_lundef=false
- ninja -C build
image: registry.videolan.org/libplacebo-ubuntu-eoan:20200521131745
variables:
UBSAN_OPTIONS: 'print_stacktrace=1:halt_on_error=1'
script:
- env CC=clang meson build --buildtype debugoptimized
-Dtests=true
-Dc_args='-DCI_BLACKLIST_COMPUTE -fPIE'
-Dshaderc=disabled
-Db_sanitize=undefined
-Db_lundef=false
- ninja -C build