Skip to content

Commit

Permalink
Merge pull request #265 from fghoussen/centos
Browse files Browse the repository at this point in the history
TravisCI: add centos build.
  • Loading branch information
sylvestre authored Aug 9, 2020
2 parents 44554d2 + f475fd9 commit 4f993fd
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ services:
stages:
# order stages
- name: opensuse
- name: centos
- name: fedora
- name: osx
- name: ubuntu_precise
Expand Down Expand Up @@ -72,6 +73,33 @@ jobs:
sudo docker cp -a ${TRAVIS_BUILD_DIR} mobydick:/tmp \
&& \
sudo docker start -a mobydick
# centos: "recent" systems with ICB
- stage: centos
dist: bionic
script: |
sudo docker pull centos \
&& \
sudo docker create --name mobydick centos /bin/bash -c \
"dnf install -y dnf-plugins-core epel-release && \
dnf upgrade -y && \
dnf config-manager --set-enabled PowerTools && \
dnf install -y git make gcc gcc-gfortran gcc-c++ environment-modules && \
dnf install -y cmake && \
dnf install -y mpich-devel && \
dnf --enablerepo=\"epel\" install -y openblas-devel lapack-devel && \
. /etc/profile.d/modules.sh && \
module avail && module load mpi && module list && \
cd /tmp && \
cd arpack-ng && \
git status && \
git log -2 && \
mkdir -p build && cd build && \
cmake -DEXAMPLES=ON -DMPI=ON -DICB=ON .. && \
make all && make test" \
&& \
sudo docker cp -a ${TRAVIS_BUILD_DIR} mobydick:/tmp \
&& \
sudo docker start -a mobydick
# fedora (released fedora with openmpi)
- stage: fedora
name: "Fedora latest with openmpi"
Expand Down
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ arpack-ng - 3.8.0
* [BUG FIX]: fix 'Unknown CMake command "check_symbol_exists".' when ICB=ON.

[ Franck Houssen ]
* CI: Support for centos added in automation.
* CI: Support for opensuse added in automation.
* arpackSolver/arpackmm: switch eigen version to 3.3.
* [BUG FIX] fix arpackdef.h (resp. arpackicb.h) must be included only by C/C++ (resp. F77/F90).
Expand Down

0 comments on commit 4f993fd

Please sign in to comment.