mirror of
https://github.com/ostreedev/ostree.git
synced 2025-01-27 18:04:17 +03:00
a15dc7f191
It's fast enough to use for CI testing by default, and it can catch a lot of bad things. Closes: #552 Approved by: jlebon
49 lines
782 B
YAML
49 lines
782 B
YAML
branches:
|
|
- master
|
|
- auto
|
|
- try
|
|
|
|
container:
|
|
image: projectatomic/ostree-tester
|
|
|
|
packages:
|
|
- libubsan
|
|
|
|
tests:
|
|
- sh autogen.sh
|
|
--prefix=/usr
|
|
--libdir=/usr/lib64
|
|
--enable-installed-tests
|
|
--enable-gtk-doc
|
|
CFLAGS='-fsanitize=undefined'
|
|
- make -j2
|
|
- make syntax-check
|
|
- make check
|
|
- make install
|
|
- gnome-desktop-testing-runner ostree
|
|
- sudo --user=testuser gnome-desktop-testing-runner ostree
|
|
|
|
timeout: 30m
|
|
|
|
artifacts:
|
|
- test-suite.log
|
|
|
|
---
|
|
|
|
inherit: true
|
|
|
|
packages:
|
|
- clang
|
|
|
|
tests:
|
|
- sh autogen.sh
|
|
--prefix=/usr
|
|
--libdir=/usr/lib64
|
|
--enable-installed-tests
|
|
--enable-gtk-doc
|
|
- make -j2 CC=clang CFLAGS='-Werror=unused-variable'
|
|
|
|
context: Clang
|
|
|
|
artifacts:
|