From a0f4d1490a9ecbf40b52c22bbb26c21289a5e850 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrangé" Date: Wed, 24 Jun 2020 16:41:25 +0100 Subject: gitlab: add builds on CentOS 8 Stream MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Daniel P. Berrangé --- .gitlab-ci.yml | 11 +++++++ ci/centos-stream.Dockerfile | 74 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 ci/centos-stream.Dockerfile diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9865238..0f7cfb8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -94,6 +94,11 @@ x86-centos-8-container: variables: NAME: centos-8 +x86-centos-stream-container: + <<: *container_job_definition + variables: + NAME: centos-stream + x86-debian-9-container: <<: *container_job_definition variables: @@ -151,6 +156,12 @@ x86-centos-8-git-build: NAME: centos-8 RPM: skip +x86-centos-stream-dist-build: + <<: *git_native_build_job_definition + variables: + NAME: centos-stream + RPM: skip + x86-debian-9-dist-build: <<: *dist_native_build_job_definition variables: diff --git a/ci/centos-stream.Dockerfile b/ci/centos-stream.Dockerfile new file mode 100644 index 0000000..ca90710 --- /dev/null +++ b/ci/centos-stream.Dockerfile @@ -0,0 +1,74 @@ +FROM centos:8 + +RUN dnf install -y centos-release-stream && \ + dnf install 'dnf-command(config-manager)' -y && \ + dnf config-manager --set-enabled -y Stream-PowerTools && \ + dnf install -y epel-release && \ + dnf update -y && \ + dnf install -y \ + autoconf \ + automake \ + bash \ + bash-completion \ + ca-certificates \ + ccache \ + chrony \ + cyrus-sasl-devel \ + gcc \ + gdb \ + gdk-pixbuf2-devel \ + gettext \ + gettext-devel \ + git \ + glib2-devel \ + glibc-devel \ + glibc-langpack-en \ + gnutls-devel \ + gobject-introspection-devel \ + gtk-doc \ + gtk3-devel \ + icoutils \ + intltool \ + libgcrypt-devel \ + libnl3-devel \ + libtirpc-devel \ + libtool \ + libxml2 \ + libxml2-devel \ + libxslt \ + lsof \ + make \ + meson \ + net-tools \ + ninja-build \ + patch \ + perl \ + perl-App-cpanminus \ + pkgconfig \ + pulseaudio-libs-devel \ + python3 \ + python3-docutils \ + python3-pip \ + python3-setuptools \ + python3-wheel \ + rpcgen \ + rpm-build \ + screen \ + spice-gtk3-devel \ + strace \ + sudo \ + vala \ + vim && \ + dnf autoremove -y && \ + dnf clean all -y && \ + mkdir -p /usr/libexec/ccache-wrappers && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/cc && \ + ln -s /usr/bin/ccache /usr/libexec/ccache-wrappers/$(basename /usr/bin/gcc) + +ENV LANG "en_US.UTF-8" + +ENV MAKE "/usr/bin/make" +ENV NINJA "/usr/bin/ninja" +ENV PYTHON "/usr/bin/python3" + +ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers" -- cgit v1.2.3