Skip to contentSkip to conversation

automation: build test with debian unstable

PATCH In review Wei Liu 2 participants 6 messages Jul 23, 2018 – Jul 25, 2018

lore
Share & tools
lore

Wei Liu

author
#0 lore raw

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
author
#1 lore raw

PATCH 1/2 automation: add debian unstable images

This 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
new file mode 100644
index 0000000000..ffb9f11daa
@@ -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
author
#3 lore raw

PATCH 2/2 automation: build with debian unstable

In reply to Wei Liu
---
 .gitlab-ci.yml | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)
.gitlab-ci.yml +64 -0
index 682e48ef51..8aae194136 100644
@@ -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
Acked-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] automation: build with debian unstable

Quoted 1 line · Wei Liu

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

author
#5 lore raw

Re: [PATCH 2/2] automation: build with debian unstable

Quoted 11 lines · Doug Goldstein
Quoted 1 line · Wei Liu

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.

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