mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
gitlab-ci.yml: Add openSUSE Leap 15.2 for gitlab CI/CD
Add build-system-opensuse jobs and opensuse-leap.docker dockerfile. Use openSUSE Leap 15.2 container image in the gitlab-CI. Signed-off-by: Cho, Yu-Chen <acho@suse.com> Tested-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com> Message-Id: <20201229085046.8536-1-acho@suse.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
7b09f12773
commit
b115ea3a0d
3 changed files with 91 additions and 0 deletions
|
@ -246,3 +246,8 @@ amd64-ubuntu-container:
|
||||||
<<: *container_job_definition
|
<<: *container_job_definition
|
||||||
variables:
|
variables:
|
||||||
NAME: ubuntu
|
NAME: ubuntu
|
||||||
|
|
||||||
|
amd64-opensuse-leap-container:
|
||||||
|
<<: *container_job_definition
|
||||||
|
variables:
|
||||||
|
NAME: opensuse-leap
|
||||||
|
|
|
@ -200,6 +200,37 @@ acceptance-system-centos:
|
||||||
MAKE_CHECK_ARGS: check-acceptance
|
MAKE_CHECK_ARGS: check-acceptance
|
||||||
<<: *acceptance_definition
|
<<: *acceptance_definition
|
||||||
|
|
||||||
|
build-system-opensuse:
|
||||||
|
<<: *native_build_job_definition
|
||||||
|
variables:
|
||||||
|
IMAGE: opensuse-leap
|
||||||
|
TARGETS: s390x-softmmu x86_64-softmmu aarch64-softmmu
|
||||||
|
MAKE_CHECK_ARGS: check-build
|
||||||
|
artifacts:
|
||||||
|
expire_in: 2 days
|
||||||
|
paths:
|
||||||
|
- build
|
||||||
|
|
||||||
|
check-system-opensuse:
|
||||||
|
<<: *native_test_job_definition
|
||||||
|
needs:
|
||||||
|
- job: build-system-opensuse
|
||||||
|
artifacts: true
|
||||||
|
variables:
|
||||||
|
IMAGE: opensuse-leap
|
||||||
|
MAKE_CHECK_ARGS: check
|
||||||
|
|
||||||
|
acceptance-system-opensuse:
|
||||||
|
<<: *native_test_job_definition
|
||||||
|
needs:
|
||||||
|
- job: build-system-opensuse
|
||||||
|
artifacts: true
|
||||||
|
variables:
|
||||||
|
IMAGE: opensuse-leap
|
||||||
|
MAKE_CHECK_ARGS: check-acceptance
|
||||||
|
<<: *acceptance_definition
|
||||||
|
|
||||||
|
|
||||||
build-disabled:
|
build-disabled:
|
||||||
<<: *native_build_job_definition
|
<<: *native_build_job_definition
|
||||||
variables:
|
variables:
|
||||||
|
|
55
tests/docker/dockerfiles/opensuse-leap.docker
Normal file
55
tests/docker/dockerfiles/opensuse-leap.docker
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
FROM opensuse/leap:15.2
|
||||||
|
|
||||||
|
# Please keep this list sorted alphabetically
|
||||||
|
ENV PACKAGES \
|
||||||
|
bc \
|
||||||
|
brlapi-devel \
|
||||||
|
bzip2 \
|
||||||
|
cyrus-sasl-devel \
|
||||||
|
gcc \
|
||||||
|
gcc-c++ \
|
||||||
|
mkisofs \
|
||||||
|
gettext-runtime \
|
||||||
|
git \
|
||||||
|
glib2-devel \
|
||||||
|
glusterfs-devel \
|
||||||
|
libgnutls-devel \
|
||||||
|
gtk3-devel \
|
||||||
|
libaio-devel \
|
||||||
|
libattr-devel \
|
||||||
|
libcap-ng-devel \
|
||||||
|
libepoxy-devel \
|
||||||
|
libfdt-devel \
|
||||||
|
libiscsi-devel \
|
||||||
|
libjpeg8-devel \
|
||||||
|
libpmem-devel \
|
||||||
|
libpng16-devel \
|
||||||
|
librbd-devel \
|
||||||
|
libseccomp-devel \
|
||||||
|
libssh-devel \
|
||||||
|
lzo-devel \
|
||||||
|
make \
|
||||||
|
libSDL2_image-devel \
|
||||||
|
ncurses-devel \
|
||||||
|
ninja \
|
||||||
|
libnuma-devel \
|
||||||
|
perl \
|
||||||
|
libpixman-1-0-devel \
|
||||||
|
python3-base \
|
||||||
|
python3-virtualenv \
|
||||||
|
rdma-core-devel \
|
||||||
|
libSDL2-devel \
|
||||||
|
snappy-devel \
|
||||||
|
libspice-server-devel \
|
||||||
|
systemd-devel \
|
||||||
|
systemtap-sdt-devel \
|
||||||
|
tar \
|
||||||
|
usbredir-devel \
|
||||||
|
virglrenderer-devel \
|
||||||
|
xen-devel \
|
||||||
|
vte-devel \
|
||||||
|
zlib-devel
|
||||||
|
ENV QEMU_CONFIGURE_OPTS --python=/usr/bin/python3.6
|
||||||
|
|
||||||
|
RUN zypper update -y && zypper --non-interactive install -y $PACKAGES
|
||||||
|
RUN rpm -q $PACKAGES | sort > /packages.txt
|
Loading…
Add table
Add a link
Reference in a new issue