summaryrefslogtreecommitdiff
path: root/.redhat-ci.yml
blob: 5160b9c41f1a5597caa9e8126ac96ead69840e3a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
branches:
    - master
    - auto
    - try

required: true

container:
    image: projectatomic/ostree-tester

packages:
  - libasan

env:
    CFLAGS: '-fsanitize=undefined -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: