-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
739 additions
and
122 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,44 @@ | ||
name: cmake | ||
|
||
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" | ||
|
||
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 --disable-cxx | ||
make | ||
sudo make install | ||
popd | ||
- name: cmake build | ||
run: | | ||
find /usr -name libnetcdf.so | ||
mkdir build | ||
cd build | ||
cmake -Wno-dev -DNetCDF_C_LIBRARY=/usr/lib/x86_64-linux-gnu/libnetcdf.so -DNetCDF_C_INCLUDE_DIR=/usr/include -DCMAKE_PREFIX_PATH=/usr -DPIO_HDF5_LOGGING=On -DPIO_USE_MALLOC=On -DPIO_ENABLE_LOGGING=On -DPIO_ENABLE_TIMING=Off .. | ||
make VERBOSE=1 | ||
make tests VERBOSE=1 | ||
ctest -VV |
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,47 @@ | ||
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" | ||
|
||
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 --disable-cxx | ||
make | ||
sudo make install | ||
popd | ||
- name: autoreconf | ||
run: autoreconf -i | ||
- name: configure | ||
run: | | ||
export CFLAGS="-std=c99 -fsanitize=address -fno-omit-frame-pointer -Werror" | ||
export FFLAGS="-fsanitize=address -fno-omit-frame-pointer -Werror" | ||
export FCFLAGS="-fsanitize=address -fno-omit-frame-pointer -Werror" | ||
./configure | ||
- name: make -j distcheck | ||
run: | | ||
export DISTCHECK_CONFIGURE_FLAGS="--enable-fortran" | ||
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
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
Oops, something went wrong.