Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Hugo Beauzée-Luyssen
medialibrary
Commits
3599bfe3
Commit
3599bfe3
authored
Sep 07, 2021
by
Hugo Beauzée-Luyssen
Browse files
tmp: Disable asan job
parent
5aea5c0c
Pipeline
#135484
passed with stage
Changes
1
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
ci/gitlab-ci.yml
View file @
3599bfe3
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment