.redhat-ci.yml: use new build key
This allows us to more concisely separate building from testing, which in turn gives us a nicer inheritance pattern in our case. See also: https://github.com/jlebon/redhat-ci/issues/11 Closes: #569 Approved by: cgwalters
This commit is contained in:
parent
24ac4ff190
commit
39e7293e3f
|
|
@ -9,6 +9,8 @@ RUN dnf install -y \
|
||||||
fuse \
|
fuse \
|
||||||
gjs \
|
gjs \
|
||||||
parallel \
|
parallel \
|
||||||
|
clang \
|
||||||
|
libubsan \
|
||||||
gnome-desktop-testing \
|
gnome-desktop-testing \
|
||||||
redhat-rpm-config \
|
redhat-rpm-config \
|
||||||
elfutils \
|
elfutils \
|
||||||
|
|
|
||||||
|
|
@ -6,20 +6,24 @@ branches:
|
||||||
container:
|
container:
|
||||||
image: projectatomic/ostree-tester
|
image: projectatomic/ostree-tester
|
||||||
|
|
||||||
|
# XXX: we can wipe this off once a newer image is built with
|
||||||
|
# it already included
|
||||||
packages:
|
packages:
|
||||||
- libubsan
|
- libubsan
|
||||||
|
|
||||||
|
env:
|
||||||
|
CFLAGS: '-fsanitize=undefined'
|
||||||
|
|
||||||
|
build:
|
||||||
|
config-opts: >
|
||||||
|
--prefix=/usr
|
||||||
|
--libdir=/usr/lib64
|
||||||
|
--enable-installed-tests
|
||||||
|
--enable-gtk-doc
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
- sh autogen.sh
|
|
||||||
--prefix=/usr
|
|
||||||
--libdir=/usr/lib64
|
|
||||||
--enable-installed-tests
|
|
||||||
--enable-gtk-doc
|
|
||||||
CFLAGS='-fsanitize=undefined'
|
|
||||||
- make -j2
|
|
||||||
- make syntax-check
|
- make syntax-check
|
||||||
- make check
|
- make check
|
||||||
- make install
|
|
||||||
- gnome-desktop-testing-runner ostree
|
- gnome-desktop-testing-runner ostree
|
||||||
- sudo --user=testuser gnome-desktop-testing-runner ostree
|
- sudo --user=testuser gnome-desktop-testing-runner ostree
|
||||||
|
|
||||||
|
|
@ -32,17 +36,15 @@ artifacts:
|
||||||
|
|
||||||
inherit: true
|
inherit: true
|
||||||
|
|
||||||
|
# XXX: ditto
|
||||||
packages:
|
packages:
|
||||||
- clang
|
- 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
|
context: Clang
|
||||||
|
|
||||||
|
env:
|
||||||
|
CC: 'clang'
|
||||||
|
CFLAGS: '-Werror=unused-variable'
|
||||||
|
|
||||||
|
tests:
|
||||||
artifacts:
|
artifacts:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue