Commit e4a06f09 authored by Stewart Smith's avatar Stewart Smith
Browse files

opal-ci: drop fedora 28


We're getting close to Fedora 30, and keeping N-1 fedora around for too
long doesn't really add much.
Signed-off-by: default avatarStewart Smith <stewart@linux.ibm.com>
parent 6c36257b
......@@ -12,7 +12,6 @@ env:
- RUN_ON_CONTAINER=ubuntu-18.04
- RUN_ON_CONTAINER=ubuntu-latest
- RUN_ON_CONTAINER=centos7
- RUN_ON_CONTAINER=fedora28
- RUN_ON_CONTAINER=fedora29
- RUN_ON_CONTAINER=fedora-rawhide
- RUN_ON_CONTAINER=debian-stretch
......
FROM fedora:28
RUN dnf -y install wget curl xterm gcc git xz make diffutils findutils expect valgrind valgrind-devel ccache dtc openssl-devel
RUN dnf -y install gcc-powerpc64-linux-gnu
# below packages are for building dtc
RUN dnf -y install flex bison
RUN if [ `arch` = "x86_64" ]; then dnf -y install http://public.dhe.ibm.com/software/server/powerfuncsim/p9/packages/v1.1-0/systemsim-p9-1.1-0.f22.x86_64.rpm; fi
COPY . /build/
WORKDIR /build
#!/bin/bash
set -uo pipefail
set -e
set -vx
MAKE_J=$(grep -c processor /proc/cpuinfo)
export CROSS="ccache powerpc64-linux-gnu-"
# There's a bug in dtc v1.4.7 packaged on fedora 28 that makes our device tree
# tests fail, so for the moment, build a slightly older DTC
git clone --depth=1 -b v1.4.4 https://git.kernel.org/pub/scm/utils/dtc/dtc.git
(cd dtc; make -j${MAKE_J})
export PATH=`pwd`/dtc:$PATH
make -j${MAKE_J} all
make -j${MAKE_J} check
(make clean; cd external/gard && CROSS= make -j${MAKE_J})
(cd external/pflash; make -j${MAKE_J})
# GCOV build disabled for GCC 8.2
# https://github.com/open-power/skiboot/issues/206
#make clean
#SKIBOOT_GCOV=1 make -j${MAKE_J}
#SKIBOOT_GCOV=1 make -j${MAKE_J} check
make clean
rm -rf builddir
mkdir builddir
make SRC=$(pwd) -f ../Makefile -C builddir -j${MAKE_J}
make clean
build-fedora28.sh
\ No newline at end of file
#!/bin/bash
set -uo pipefail
set -e
set -vx
MAKE_J=$(grep -c processor /proc/cpuinfo)
export CROSS="ccache powerpc64-linux-gnu-"
# There's a bug in dtc v1.4.7 packaged on fedora 28 that makes our device tree
# tests fail, so for the moment, build a slightly older DTC
git clone --depth=1 -b v1.4.4 https://git.kernel.org/pub/scm/utils/dtc/dtc.git
(cd dtc; make -j${MAKE_J})
export PATH=`pwd`/dtc:$PATH
make -j${MAKE_J} all
make -j${MAKE_J} check
(make clean; cd external/gard && CROSS= make -j${MAKE_J})
(cd external/pflash; make -j${MAKE_J})
# GCOV build disabled for GCC 8.2
# https://github.com/open-power/skiboot/issues/206
#make clean
#SKIBOOT_GCOV=1 make -j${MAKE_J}
#SKIBOOT_GCOV=1 make -j${MAKE_J} check
make clean
rm -rf builddir
mkdir builddir
make SRC=$(pwd) -f ../Makefile -C builddir -j${MAKE_J}
make clean
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment