[Skiboot] [PATCH] travis: Add debian stretch and unstable

Stewart Smith stewart at linux.vnet.ibm.com
Wed Jul 19 16:30:32 AEST 2017


At the moment, we mark them both as being able to fail, as we're
hitting an assert in one of the unit tests on debian stretch, and
that hasn't yet been chased down.

Signed-off-by: Stewart Smith <stewart at linux.vnet.ibm.com>
---
 .travis.yml                        |  4 ++++
 opal-ci/Dockerfile-debian-stretch  | 15 +++++++++++++++
 opal-ci/Dockerfile-debian-unstable | 15 +++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 100644 opal-ci/Dockerfile-debian-stretch
 create mode 100644 opal-ci/Dockerfile-debian-unstable

diff --git a/.travis.yml b/.travis.yml
index b709e6fff3bd..24675f27729a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -13,6 +13,8 @@ env:
     - RUN_ON_CONTAINER=fedora25
     - RUN_ON_CONTAINER=fedora26
     - RUN_ON_CONTAINER=fedora-rawhide
+    - RUN_ON_CONTAINER=debian-stretch
+    - RUN_ON_CONTAINER=debian-unstable
     global:
         # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
         #   via the "travis encrypt" command using the project repo's public key
@@ -21,6 +23,8 @@ env:
 matrix:
   allow_failures:
     - env: RUN_ON_CONTAINER=fedora-rawhide
+    - env: RUN_ON_CONTAINER=debian-stretch
+    - env: RUN_ON_CONTAINER=debian-unstable
 
 sudo: required
 services: docker
diff --git a/opal-ci/Dockerfile-debian-stretch b/opal-ci/Dockerfile-debian-stretch
new file mode 100644
index 000000000000..c4183b2c6e10
--- /dev/null
+++ b/opal-ci/Dockerfile-debian-stretch
@@ -0,0 +1,15 @@
+FROM debian:stretch
+RUN apt-get update -qq
+RUN apt-get install -y gcc-powerpc64le-linux-gnu gcc ccache expect libssl-dev
+RUN apt-get install -y wget xterm curl device-tree-compiler
+RUN apt-get install -y gcc-arm-linux-gnueabi
+RUN curl -O ftp://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v1.0-2/systemsim-p8_1.0-2_amd64.deb
+RUN dpkg -i systemsim-p8_1.0-2_amd64.deb
+RUN apt-get install -y libtcl8.6
+RUN curl -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.0-0/systemsim-p9-1.0-0-trusty_amd64.deb
+RUN dpkg -i systemsim-p9-1.0-0-trusty_amd64.deb
+RUN apt-get -y install eatmydata
+RUN eatmydata apt-get -y install build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind
+COPY . /build/
+WORKDIR /build
+ENTRYPOINT ./opal-ci/build-ubuntu-16.04.sh
diff --git a/opal-ci/Dockerfile-debian-unstable b/opal-ci/Dockerfile-debian-unstable
new file mode 100644
index 000000000000..0562d09db084
--- /dev/null
+++ b/opal-ci/Dockerfile-debian-unstable
@@ -0,0 +1,15 @@
+FROM debian:unstable
+RUN apt-get update -qq
+RUN apt-get install -y gcc-powerpc64le-linux-gnu gcc ccache expect libssl-dev
+RUN apt-get install -y wget xterm curl device-tree-compiler
+RUN apt-get install -y gcc-arm-linux-gnueabi
+RUN curl -O ftp://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v1.0-2/systemsim-p8_1.0-2_amd64.deb
+RUN dpkg -i systemsim-p8_1.0-2_amd64.deb
+RUN apt-get install -y libtcl8.6
+RUN curl -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.0-0/systemsim-p9-1.0-0-trusty_amd64.deb
+RUN dpkg -i systemsim-p9-1.0-0-trusty_amd64.deb
+RUN apt-get -y install eatmydata
+RUN eatmydata apt-get -y install build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind
+COPY . /build/
+WORKDIR /build
+ENTRYPOINT ./opal-ci/build-ubuntu-16.04.sh
-- 
2.13.0



More information about the Skiboot mailing list