Unverified Commit 4f126520 authored by Jean-Noël Grad's avatar Jean-Noël Grad Committed by GitHub
Browse files

Merge pull request #190 from jngrad/mpich

Simplify CI infrastructure

The ROCm and Intel images will no longer be tested in CI in 4.2.
parents cb775a82 b8e18d35
......@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
image: ['centos', 'debian', 'fedora', 'opensuse', 'rocm', 'cuda',
image: ['centos', 'debian', 'fedora', 'opensuse', 'cuda',
'ubuntu-18.04', 'ubuntu-20.04', 'ubuntu-wo-dependencies']
steps:
- uses: actions/checkout@master
......@@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
image: ['fedora', 'rocm']
image: ['fedora']
steps:
- uses: actions/checkout@master
- name: Build and deploy
......
......@@ -3,7 +3,7 @@ FROM fedora:${BASE_VERSION}
RUN yum -y install \
blas-devel \
boost-devel \
boost-openmpi-devel \
boost-mpich-devel \
ccache \
cmake \
fftw-devel \
......@@ -11,10 +11,10 @@ RUN yum -y install \
gcc-c++ \
gdb \
git \
hdf5-openmpi-devel \
hdf5-mpich-devel \
lapack-devel \
make \
openmpi-devel \
mpich-devel \
python3 \
python3-devel \
python3-Cython \
......
ARG BASE_VERSION=3.7
FROM rocm/dev-ubuntu-18.04:${BASE_VERSION}
ENV DEBIAN_FRONTEND noninteractive
COPY ubuntu-packages.txt /tmp
ARG BASE_VERSION
RUN apt_folder=$([ "${BASE_VERSION}" = "latest" ] && echo "debian" || echo "${BASE_VERSION}") \
&& sed -i "s|repo.radeon.com/rocm/apt/debian/|repo.radeon.com/rocm/apt/${apt_folder}/|" /etc/apt/sources.list.d/rocm.list \
&& apt-get update && xargs -a /tmp/ubuntu-packages.txt apt-get install --no-install-recommends -y \
&& apt-get install --no-install-recommends -y \
rocrand rocfft rocthrust rocblas rocsolver kmod \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN useradd -m espresso
USER espresso
ENV HOME="/home/espresso"
ENV PATH="${HOME}/.local/bin:${PATH}"
RUN pip3 install --user 'cmake==3.11'
WORKDIR /home/espresso
Supports Markdown
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