[Skiboot] [PATCH 2/3] travis: Add Ubuntu 18.04

Stewart Smith stewart at linux.ibm.com
Fri May 4 16:34:14 AEST 2018


Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
 .travis.yml                     |  1 +
 opal-ci/Dockerfile-ubuntu-18.04 | 11 +++++++++++
 2 files changed, 12 insertions(+)
 create mode 100644 opal-ci/Dockerfile-ubuntu-18.04

diff --git a/.travis.yml b/.travis.yml
index c754c12ac298..53046d09fa4c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,6 +10,7 @@ env:
     matrix:
     - RUN_ON_CONTAINER=ubuntu-12.04
     - RUN_ON_CONTAINER=ubuntu-16.04
+    - RUN_ON_CONTAINER=ubuntu-18.04
     - RUN_ON_CONTAINER=ubuntu-latest
     - RUN_ON_CONTAINER=centos6
     - RUN_ON_CONTAINER=centos7
diff --git a/opal-ci/Dockerfile-ubuntu-18.04 b/opal-ci/Dockerfile-ubuntu-18.04
new file mode 100644
index 000000000000..910926ec777a
--- /dev/null
+++ b/opal-ci/Dockerfile-ubuntu-18.04
@@ -0,0 +1,11 @@
+FROM ubuntu:18.04
+ENV DEBIAN_FRONTEND    noninteractive
+RUN apt-get update -qq
+RUN if [ `arch` != "ppc64le" ]; then apt-get update -qq && apt-get install -y gcc-powerpc64le-linux-gnu; fi
+RUN apt-get update -qq && apt-get install -y gcc ccache expect libssl-dev wget curl xterm device-tree-compiler build-essential gcc python g++ pkg-config libz-dev libglib2.0-dev libpixman-1-dev libfdt-dev git libstdc++6 valgrind libtcl8.6
+RUN apt-get update -qq && apt-get install -y gcc-arm-linux-gnueabi || true
+RUN if [ `arch` == "x86_64" ]; then curl -L -O http://public.dhe.ibm.com/software/server/powerfuncsim/p8/packages/v1.0-2/systemsim-p8_1.0-2_amd64.deb; dpkg -i systemsim-p8_1.0-2_amd64.deb; fi
+RUN if [ `arch` == "x86_64" ]; then curl -O http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0-trusty_amd64.deb; dpkg -i systemsim-p9-1.1-0-trusty_amd64.deb; fi
+COPY . /build/
+WORKDIR /build
+ENTRYPOINT ./opal-ci/build-ubuntu-16.04.sh
-- 
2.14.3



More information about the Skiboot mailing list