automation: build test with debian unstable
cover automation: build test with debian unstable
Using unstable gets us the latest toolchain available in Debian.
See: https://gitlab.com/liuw/xen/pipelines/26330873
Wei Liu (2):
automation: add debian unstable images
automation: build with debian unstable
.gitlab-ci.yml | 64 ++++++++++++++++++++++++ automation/build/debian/unstable-i386.dockerfile | 50 ++++++++++++++++++ automation/build/debian/unstable.dockerfile | 48 ++++++++++++++++++ 3 files changed, 162 insertions(+) create mode 100644 automation/build/debian/unstable-i386.dockerfile create mode 100644 automation/build/debian/unstable.dockerfile
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
PATCH 2/2 automation: build with debian unstable
--- .gitlab-ci.yml | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+)
.gitlab-ci.yml +64 -0
@@ -103,6 +103,70 @@ debian-stretch-gcc-debug: debug: y XEN_TARGET_ARCH: x86_64 +debian-unstable-clang: + <<: *build + variables: + <<: *clang + CONTAINER: debian:unstable + debug: n + XEN_TARGET_ARCH: x86_64 + +debian-unstable-clang-debug: + <<: *build + variables: + <<: *clang + CONTAINER: debian:unstable + debug: y + XEN_TARGET_ARCH: x86_64 + +debian-unstable-gcc: + <<: *build + variables: + <<: *gcc + CONTAINER: debian:unstable + debug: n + XEN_TARGET_ARCH: x86_64 + +debian-unstable-gcc-debug: + <<: *build + variables: + <<: *gcc + CONTAINER: debian:unstable + debug: y + XEN_TARGET_ARCH: x86_64 + +debian-unstable-32-clang: + <<: *build + variables: + <<: *clang + CONTAINER: debian:unstable-i386 + debug: n + XEN_TARGET_ARCH: x86_32 + +debian-unstable-32-clang-debug: + <<: *build + variables: + <<: *clang + CONTAINER: debian:unstable-i386 + debug: y + XEN_TARGET_ARCH: x86_32 + +debian-unstable-32-gcc: + <<: *build + variables: + <<: *gcc + CONTAINER: debian:unstable-i386 + debug: n + XEN_TARGET_ARCH: x86_32 + +debian-unstable-32-gcc-debug: + <<: *build + variables: + <<: *gcc + CONTAINER: debian:unstable-i386 + debug: y + XEN_TARGET_ARCH: x86_32 + # Ubuntu Trusty's Clang is 3.4 while Xen requires 3.5 ubuntu-trusty-gcc:
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
PATCH 1/2 automation: add debian unstable images
In reply to Wei LiuThis will get us the latest toolchain available in Debian.
--- automation/build/debian/unstable-i386.dockerfile | 50 ++++++++++++++++++++++++ automation/build/debian/unstable.dockerfile | 48 +++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 automation/build/debian/unstable-i386.dockerfile create mode 100644 automation/build/debian/unstable.dockerfile
automation/build/debian/unstable-i386.dockerfile new file +50 -0
@@ -0,0 +1,50 @@ +FROM i386/debian:unstable +LABEL maintainer.name="The Xen Project" \ + maintainer.email="[email protected]" + +ENV DEBIAN_FRONTEND=noninteractive +ENV USER root + +RUN mkdir /build +WORKDIR /build + +ENTRYPOINT ["linux32"] + +# build depends +RUN apt-get update && \ + apt-get --quiet --yes install \ + build-essential \ + zlib1g-dev \ + libncurses5-dev \ + libssl-dev \ + python2.7-dev \ + xorg-dev \ + uuid-dev \ + libyajl-dev \ + libaio-dev \ + libglib2.0-dev \ + clang \ + libpixman-1-dev \ + pkg-config \ + flex \ + bison \ + gettext \ + acpica-tools \ + bin86 \ + bcc \ + liblzma-dev \ + libc6-dev \ + libnl-3-dev \ + ocaml-nox \ + libfindlib-ocaml-dev \ + markdown \ + transfig \ + pandoc \ + checkpolicy \ + wget \ + git \ + nasm \ + && \ + apt-get autoremove -y && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists* /tmp/* /var/tmp/*
automation/build/debian/unstable.dockerfile new file +48 -0
48 lines not on this page · raw message
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH 1/2] automation: add debian unstable images
Quoted 3 lines · Wei Liu
This will get us the latest toolchain available in Debian.
Signed-off-by Wei Liu <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH 2/2] automation: build with debian unstable
In reply to Wei LiuQuoted 1 line · Wei Liu
Signed-off-by Wei Liu <[email protected]>
While this is good and provisionally I would say:
I'd like us to hold off on committing this until other changes land to fix the build issues that are currently happening on Debian unstable. e.g. iPXE doesn't work as well as OVMF. I've seen a patch on the list for the latter.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Re: [PATCH 2/2] automation: build with debian unstable
Quoted 11 lines · Doug Goldstein
Quoted 1 line · Wei Liu
Signed-off-by Wei Liu <[email protected]>While this is good and provisionally I would say:
Acked-by Doug Goldstein <[email protected]>I'd like us to hold off on committing this until other changes land to fix the build issues that are currently happening on Debian unstable. e.g. iPXE doesn't work as well as OVMF. I've seen a patch on the list for the latter.
Yes, I plan to fix all the issues before committing the patch.
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel