05c59d11fa
Use the newly added support for cluster tests in Red Hat CI to run the vmcheck testsuite. Closes: #524 Approved by: cgwalters
81 lines
1.1 KiB
YAML
81 lines
1.1 KiB
YAML
branches:
|
|
- master
|
|
- auto
|
|
- try
|
|
|
|
context: check
|
|
|
|
container:
|
|
image: projectatomic/ostree-tester
|
|
|
|
env:
|
|
CFLAGS: '-fsanitize=undefined'
|
|
|
|
build:
|
|
config-opts: >
|
|
--prefix=/usr
|
|
--libdir=/usr/lib64
|
|
--enable-installed-tests
|
|
--enable-gtk-doc
|
|
|
|
packages:
|
|
- python-sphinx
|
|
- createrepo_c
|
|
- gperf
|
|
- rpm-build
|
|
- bubblewrap
|
|
- python-devel
|
|
- check-devel
|
|
- pkgconfig(ostree-1)
|
|
- pkgconfig(libgsystem)
|
|
- pkgconfig(librepo)
|
|
- pkgconfig(libsolv)
|
|
- pkgconfig(rpm)
|
|
- pkgconfig(json-glib-1.0)
|
|
- pkgconfig(expat)
|
|
- cmake
|
|
- gtk-doc
|
|
|
|
tests:
|
|
- make check
|
|
- gnome-desktop-testing-runner rpm-ostree
|
|
- sudo --user=testuser gnome-desktop-testing-runner rpm-ostree
|
|
|
|
timeout: 30m
|
|
|
|
artifacts:
|
|
- test-suite.log
|
|
|
|
---
|
|
|
|
inherit: true
|
|
|
|
context: Clang
|
|
|
|
env:
|
|
CC: 'clang'
|
|
CFLAGS: '-Werror=unused-variable'
|
|
|
|
tests:
|
|
artifacts:
|
|
|
|
---
|
|
|
|
inherit: true
|
|
|
|
context: vmcheck
|
|
|
|
cluster:
|
|
hosts:
|
|
- name: vmcheck
|
|
distro: fedora/24/atomic
|
|
container:
|
|
image: projectatomic/ostree-tester
|
|
|
|
tests:
|
|
- cp .redhat-ci.ssh-config ssh-config
|
|
- make vmcheck
|
|
|
|
artifacts:
|
|
- vmcheck.log
|