mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-25 10:04:14 +03:00
515f832067
I saw in a recent test log a ton of spam ``` libglnx/glnx-dirfd.c:253:3: runtime error: null pointer passed as argument 1, which is declared to never be null ``` which actually turned out to be libglnx getting reverted. But let's be sure now we actually bomb out quickly on UBSAN warnings in general. Closes: #693 Approved by: jlebon
98 lines
1.4 KiB
YAML
98 lines
1.4 KiB
YAML
branches:
|
|
- master
|
|
- auto
|
|
- try
|
|
|
|
required: true
|
|
|
|
container:
|
|
image: projectatomic/ostree-tester
|
|
|
|
packages:
|
|
- libasan
|
|
|
|
env:
|
|
CFLAGS: '-fsanitize=undefined -fsanitize-undefined-trap-on-error -fsanitize=address'
|
|
ASAN_OPTIONS: 'detect_leaks=0' # Right now we're not fully clean, but this gets us use-after-free etc
|
|
# TODO when we're doing leak checks: G_SLICE: "always-malloc"
|
|
|
|
build:
|
|
config-opts: >
|
|
--prefix=/usr
|
|
--libdir=/usr/lib64
|
|
--enable-installed-tests
|
|
--enable-gtk-doc
|
|
|
|
tests:
|
|
- make syntax-check
|
|
- make check
|
|
- gnome-desktop-testing-runner -p 0 ostree
|
|
|
|
timeout: 30m
|
|
|
|
artifacts:
|
|
- test-suite.log
|
|
|
|
---
|
|
|
|
inherit: true
|
|
required: true
|
|
|
|
context: Clang
|
|
|
|
env:
|
|
CC: 'clang'
|
|
CFLAGS: '-Werror=unused-variable'
|
|
|
|
tests:
|
|
artifacts:
|
|
|
|
|
|
---
|
|
|
|
inherit: true
|
|
|
|
context: f25-rust
|
|
|
|
packages:
|
|
- cargo
|
|
|
|
build:
|
|
config-opts: >
|
|
--prefix=/usr
|
|
--libdir=/usr/lib64
|
|
--enable-installed-tests
|
|
--enable-gtk-doc
|
|
--enable-rust
|
|
|
|
env:
|
|
CC: 'gcc'
|
|
|
|
tests:
|
|
- make check TESTS=tests/test-rollsum
|
|
|
|
---
|
|
|
|
inherit: true
|
|
required: true
|
|
|
|
context: curl
|
|
|
|
packages:
|
|
- pkgconfig(libcurl)
|
|
|
|
build:
|
|
config-opts: >
|
|
--prefix=/usr
|
|
--libdir=/usr/lib64
|
|
--enable-installed-tests
|
|
--enable-gtk-doc
|
|
--with-curl
|
|
|
|
tests:
|
|
- make check
|
|
- gnome-desktop-testing-runner -p 0 ostree
|
|
|
|
artifacts:
|
|
- test-suite.log
|