automation: add Fedora image and build jobs
cover automation: add Fedora image and build jobs
Wei Liu (3):
automation: add a Fedora image
automation: add Fedora image to containerize script
gitlab-ci: add fedora gcc build jobs
automation/build/fedora/latest.dockerfile | 43 +++++++++++++++++++++++ automation/gitlab-ci/build.yaml | 10 ++++++ automation/scripts/containerize | 5 +-- 3 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 automation/build/fedora/latest.dockerfile
Signature · 7 lines
2.20.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
PATCH 1/3 automation: add a Fedora image
Use the latest and greatest.
Signed-off-by Wei Liu <[email protected]>
--- automation/build/fedora/latest.dockerfile | 43 +++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 automation/build/fedora/latest.dockerfile
automation/build/fedora/latest.dockerfile new file +43 -0
@@ -0,0 +1,43 @@ +FROM fedora:latest +LABEL maintainer.name="The Xen Project" \ + maintainer.email="[email protected]" + +RUN mkdir /build +WORKDIR /build + +# install Xen depends +RUN dnf -y install \ + clang \ + gcc \ + gcc-c++ \ + ncurses-devel \ + zlib-devel \ + openssl-devel \ + python-devel \ + libuuid-devel \ + pkgconfig \ + gettext \ + flex \ + bison \ + libaio-devel \ + glib2-devel \ + yajl-devel \ + pixman-devel \ + glibc-devel \ + glibc-devel.i686 \ + make \ + binutils \ + git \ + wget \ + acpica-tools \ + python-markdown \ + patch \ + checkpolicy \ + dev86 \ + xz-devel \ + bzip2 \ + nasm \ + ocaml \ + ocaml-findlib \ + && dnf clean all && \ + rm -rf /var/cache/dnf
Signature · 7 lines
2.20.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
PATCH 2/3 automation: add Fedora image to containerize script
In reply to Wei LiuAt the same time sort the list alphabetically.
Signed-off-by Wei Liu <[email protected]>
--- automation/scripts/containerize | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
automation/scripts/containerize +3 -2
@@ -19,10 +19,11 @@ case "_${CONTAINER}" in _centos6) CONTAINER="${BASE}/centos:6" ;; _centos7) CONTAINER="${BASE}/centos:7" ;; _centos72) CONTAINER="${BASE}/centos:7.2" ;; - _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;; - _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;; + _fedora) CONTAINER="${BASE}/fedora:latest";; _jessie) CONTAINER="${BASE}/debian:jessie" ;; _stretch|_) CONTAINER="${BASE}/debian:stretch" ;; + _trusty) CONTAINER="${BASE}/ubuntu:trusty" ;; + _xenial) CONTAINER="${BASE}/ubuntu:xenial" ;; esac # Use this variable to control whehter root should be used
Signature · 7 lines
2.20.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
PATCH 3/3 gitlab-ci: add fedora gcc build jobs
In reply to Wei LiuAlthough the image comes with clang, clang builds don't work yet.
Signed-off-by Wei Liu <[email protected]>
--- automation/gitlab-ci/build.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)
automation/gitlab-ci/build.yaml +10 -0
@@ -301,6 +301,16 @@ debian-unstable-32-gcc-debug: variables: CONTAINER: debian:unstable-i386 +fedora-gcc: + extends: .gcc-x86-64-build + variables: + CONTAINER: fedora:latest + +fedora-gcc-debug: + extends: .gcc-x86-64-build-debug + variables: + CONTAINER: fedora:latest + # Ubuntu Trusty's Clang is 3.4 while Xen requires 3.5 ubuntu-trusty-gcc:
Signature · 7 lines
2.20.1 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH 3/3] gitlab-ci: add fedora gcc build jobs
Quoted 3 lines · Wei Liu
Although the image comes with clang, clang builds don't work yet.
Signed-off-by Wei Liu <[email protected]>
Acked-by Doug Goldstein <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel