Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TravisCI: add centos build. #265

Merged
merged 1 commit into from
Aug 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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