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

Travis CI integration #24

Merged
merged 58 commits into from
May 23, 2019
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
b432617
Initial Travis continuous integration - compilation with gfortran-9
RobertPincus May 22, 2019
db63295
Makefile.conf optional in build directory (get FC, FCFLAGS from envir…
RobertPincus May 22, 2019
cf90faa
Fix syntax
clementval May 22, 2019
1907e76
Add source for apt
clementval May 22, 2019
5895154
Try workaround for failing apt
clementval May 22, 2019
a9367c5
Try with gfortran-8
clementval May 22, 2019
9c58406
Use xenial image instead of trusty
clementval May 22, 2019
b468cef
Try out with gnu 7
clementval May 22, 2019
d9c2c60
Try with local gcc
clementval May 22, 2019
9cf8487
Install gfortran-9
clementval May 22, 2019
392aa63
Try a different way to install gcc 9
clementval May 22, 2019
e40ef61
Disable email notifications
clementval May 22, 2019
c3824ac
Try to fix multiple values
clementval May 22, 2019
e71d214
Add gfortran-8 to the matrix
clementval May 22, 2019
9ca4b25
Fix syntax
clementval May 22, 2019
4a5dc20
Install PGI Community edition
clementval May 22, 2019
340c4ba
PGI in the matrix
clementval May 22, 2019
bd63d01
install pgi sudo
clementval May 22, 2019
71cca87
Add correct permissions
clementval May 22, 2019
fefa048
Add cache for pgi
clementval May 22, 2019
39a39f4
Fix condition
clementval May 22, 2019
96383c5
Fix condition one more time
clementval May 22, 2019
090e23f
Figure out where pgfortran is installed
clementval May 22, 2019
a7d7d90
Enable cache for pgi
clementval May 22, 2019
cbb0492
Add condition to build PGI only for the correct matrix entry
clementval May 22, 2019
3628bde
Extend cache timeout
clementval May 22, 2019
6fe828b
Add netcdf build for pgi
clementval May 22, 2019
3e83a71
Add netcdf build for pgi
clementval May 22, 2019
824620e
Fix condition
clementval May 22, 2019
9d0a1c3
Disable cache ... longer than compiling
clementval May 22, 2019
ebc106f
Add dependency for netcdf
clementval May 22, 2019
f7a216f
Adding script to run RFMIP test cases, including downloading relevant…
RobertPincus May 22, 2019
325ef62
Merge branch 'travis-ci' of github.com:RobertPincus/rte-rrtmgp into t…
RobertPincus May 22, 2019
3a62052
Fix netcdf-fortran build with pgi
clementval May 22, 2019
6f2c13d
Merge branch 'travis-ci' of github.com:RobertPincus/rte-rrtmgp into t…
clementval May 22, 2019
cc27af4
Fix bash
clementval May 22, 2019
358efc9
RFMIP example makefile can use environment variables
RobertPincus May 22, 2019
0d246f8
Add netcdf packages for GNU matrix entry
clementval May 22, 2019
1bcbe42
Add build example steps
clementval May 22, 2019
b3b3a52
Add NCHOME for gnu 8 and gnu 9
clementval May 22, 2019
14f6ca6
Update paths
clementval May 22, 2019
0daa639
Fix RRTMGP_DIR
clementval May 22, 2019
b1def21
Compile netcdf for GNU as well
clementval May 22, 2019
298bcaf
Go back to original directory after netcdf-fortran install
clementval May 22, 2019
837538b
Fix gfortran error on char length
clementval May 22, 2019
3ecb289
Use netcdf-fortran 4.4.4
clementval May 22, 2019
e95eb27
Try to run the driver
clementval May 22, 2019
de2ce6c
Install python packages for test
clementval May 22, 2019
da4a653
Use python 3
clementval May 23, 2019
245d10e
Revert to std pip
clementval May 23, 2019
66a95d0
Add pip3
clementval May 23, 2019
204469c
Run subprocess as python 3 as well
clementval May 23, 2019
6d0af1d
Add NFHOME to LD_LIBRARY_PATH
clementval May 23, 2019
8520b80
Separating file download/generation from running of RFMIP drivers
RobertPincus May 23, 2019
85c43f3
Missed a variable in run script.
RobertPincus May 23, 2019
f502a0f
Missed another variable in run script.
RobertPincus May 23, 2019
f67a99d
Test the OpenACC kernels too.
RobertPincus May 23, 2019
4ea5b03
Move env var in before_script
clementval May 23, 2019
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
Prev Previous commit
Next Next commit
Add condition to build PGI only for the correct matrix entry
  • Loading branch information
clementval committed May 22, 2019
commit cbb049233a1b102f2f3479273fa7f9d2dbf418ef
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@ dist: xenial
language: cpp
matrix:
include:
- compiler: gcc
- compiler: gcc # Using
env:
- FC=pgfortran
- FCFLAGS="-Mallocatable=03 -Mstandard"
- INSTALL_PGI=on
- TEST_PGI=yes
- compiler: gcc
env:
- FC=gfortran-9
- FCFLAGS="-ffree-line-length-none -m64 -std=f2003 -march=native"
- TEST_PGI=no
addons:
apt:
sources:
Expand All @@ -23,6 +24,7 @@ matrix:
env:
- FC=gfortran-8
- FCFLAGS="-ffree-line-length-none -m64 -std=f2003 -march=native"
- TEST_PGI=no
addons:
apt:
sources:
Expand All @@ -34,13 +36,15 @@ cache:
directories:
- "$HOME/pgi/"
before_install:
- if [ ! -d "$HOME/bin/pgfortran" ]; then
# Install PGI Community edition if not present in cache
- if [[ "${TEST_PGI}" == "yes" ]] && [[ ! -d "$HOME/bin/pgfortran" ]]; then
wget -q 'https://raw.githubusercontent.com/nemequ/pgi-travis/master/install-pgi.sh';
chmod +x install-pgi.sh;
./install-pgi.sh --nvidia;
fi
- which pgfortran
- pgfortran --version
- if [[ "${TEST_PGI}" == "yes" ]]; then
pgfortran --version;
fi
script:
- cd build
- make
Expand Down