mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
[CI] Add asan and ubsan tests for macos
This commit is contained in:
parent
a97ee24254
commit
2d9827bb90
|
@ -48,6 +48,26 @@ test-macos:
|
||||||
tags:
|
tags:
|
||||||
- macOS
|
- macOS
|
||||||
|
|
||||||
|
test-macos-asan:
|
||||||
|
<<: *test-template
|
||||||
|
tags:
|
||||||
|
- macOS
|
||||||
|
variables:
|
||||||
|
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
|
||||||
|
|
||||||
|
test-macos-ubsan:
|
||||||
|
<<: *test-template
|
||||||
|
tags:
|
||||||
|
- macOS
|
||||||
|
variables:
|
||||||
|
CFLAGS: '-fsanitize=undefined -fno-sanitize-recover=all -fno-sanitize=alignment -g'
|
||||||
|
|
||||||
#test-distcheck:
|
#test-distcheck:
|
||||||
# <<: *test-template
|
# <<: *test-template
|
||||||
# script:
|
# script:
|
||||||
|
|
Loading…
Reference in a new issue