-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into jedwards/cmake_piolibsettings
- Loading branch information
Showing
6 changed files
with
120 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: strict_autotools | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
env: | ||
CC: mpicc | ||
FC: mpifort | ||
CPPFLAGS: "-I/usr/include -I/usr/local/include" | ||
DISTCHECK_CONFIGURE_FLAGS: "--enable-fortran" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Installs | ||
run: | | ||
sudo apt-get install netcdf-bin libnetcdf-dev doxygen graphviz wget gfortran libjpeg-dev libz-dev openmpi-bin libopenmpi-dev | ||
- name: pnetcdf build | ||
run: | | ||
wget https://parallel-netcdf.github.io/Release/pnetcdf-1.12.1.tar.gz | ||
tar -xzvf pnetcdf-1.12.1.tar.gz | ||
ls -l | ||
pushd pnetcdf-1.12.1 | ||
./configure --prefix=/usr --enable-shared | ||
make | ||
sudo make install | ||
popd | ||
- name: autoreconf | ||
run: autoreconf -i | ||
- name: configure | ||
run: ./configure | ||
env: | ||
CFLAGS: "-std=c99 -fsanitize=address -fno-omit-frame-pointer -Werror" | ||
# FFLAGS: "-fsanitize=address -fno-omit-frame-pointer" | ||
# FCFLAGS: "-fsanitize=address -fno-omit-frame-pointer -Werror" | ||
- name: make -j distcheck | ||
run: make -j distcheck |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters