From 99f146145c49e960af6e7da9391908cb30617227 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Mon, 31 Oct 2016 13:51:32 +1100 Subject: travis-ci: use Docker containers for a matrix of platforms This greatly simplifies the build process for travis, yet makes it more powerful and increases coverage without increasing wall time to test. Travis has the concept of a build matrix, and we want to ensure we continue to build succesfully on a variety of platforms and compiler combinations. We limit what we run on some OSs to conserve vital sanity. Signed-off-by: Stewart Smith --- opal-ci/Dockerfile-ubuntu-16.04 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 opal-ci/Dockerfile-ubuntu-16.04 (limited to 'opal-ci/Dockerfile-ubuntu-16.04') diff --git a/opal-ci/Dockerfile-ubuntu-16.04 b/opal-ci/Dockerfile-ubuntu-16.04 new file mode 100644 index 00000000..2fb299be --- /dev/null +++ b/opal-ci/Dockerfile-ubuntu-16.04 @@ -0,0 +1,12 @@ +FROM ubuntu:16.04 +RUN apt-get update -qq +RUN apt-get install -y gcc-powerpc64le-linux-gnu gcc +RUN apt-get install -y wget xterm +RUN apt-get install -y gcc-arm-linux-gnueabi +RUN wget 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 -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 -- cgit v1.2.1