Commit 3599bfe3 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen
Browse files

tmp: Disable asan job

parent 5aea5c0c
Pipeline #135484 passed with stage
......@@ -217,37 +217,37 @@ test:win64:
- $CI_PROJECT_DIR/build/meson-logs/testlog.txt
expire_in: 1 week
asan-ubsan:
image: $VLC_DEBIAN_UNSTABLE_IMG
stage: build
rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"'
when: on_success
- when: never
stage: build
tags:
- docker
- amd64
variables:
LSAN_OPTIONS: 'detect_leaks=0'
script:
- git clone https://code.videolan.org/videolan/vlc.git --depth=1
- cd vlc && ./bootstrap
- ./configure LDFLAGS="-lasan -lubsan" --prefix=$(pwd)/prefix --disable-qt --with-sanitizer=address,undefined --disable-medialibrary --disable-nls --enable-debug
- make install -j8
- export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(pwd)/prefix/lib/pkgconfig"
- cd ..
- meson -Db_sanitize=address,undefined build
- cd build && meson test --no-stdsplit
- meson compile fast_discover_cancel fast_teardown
- ./test/fast_teardown/fast_teardown $CI_PROJECT_DIR/test/samples/samples
- ./test/fast_discover_cancel/fast_discover_cancel $CI_PROJECT_DIR/test/samples/samples
artifacts:
when: on_failure
paths:
- $MEDIALIB_TEST_FOLDER/**/test.db
- $CI_PROJECT_DIR/build/meson-logs/testlog.txt
expire_in: 1 week
#asan-ubsan:
# image: $VLC_DEBIAN_UNSTABLE_IMG
# stage: build
# rules:
# - if: '$CI_PIPELINE_SOURCE == "schedule"'
# when: on_success
# - when: never
# stage: build
# tags:
# - docker
# - amd64
# variables:
# LSAN_OPTIONS: 'detect_leaks=0'
# script:
# - git clone https://code.videolan.org/videolan/vlc.git --depth=1
# - cd vlc && ./bootstrap
# - ./configure LDFLAGS="-lasan -lubsan" --prefix=$(pwd)/prefix --disable-qt --with-sanitizer=address,undefined --disable-medialibrary --disable-nls --enable-debug
# - make install -j8
# - export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(pwd)/prefix/lib/pkgconfig"
# - cd ..
# - meson -Db_sanitize=address,undefined build
# - cd build && meson test --no-stdsplit
# - meson compile fast_discover_cancel fast_teardown
# - ./test/fast_teardown/fast_teardown $CI_PROJECT_DIR/test/samples/samples
# - ./test/fast_discover_cancel/fast_discover_cancel $CI_PROJECT_DIR/test/samples/samples
# artifacts:
# when: on_failure
# paths:
# - $MEDIALIB_TEST_FOLDER/**/test.db
# - $CI_PROJECT_DIR/build/meson-logs/testlog.txt
# expire_in: 1 week
#tsan:
# image: $VLC_DEBIAN_UNSTABLE_IMG
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment