Skip to content

Commit

Permalink
trying doc build a different way
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Jul 31, 2020
1 parent 602f71c commit 0e6e349
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/autotools_2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: autotools_2

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"
# 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"

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.11.0.tar.gz
tar -xzvf pnetcdf-1.11.0.tar.gz
ls -l
pushd pnetcdf-1.11.0
./configure --prefix=/usr --enable-shared
make
sudo make install
popd
- name: autoreconf
run: autoreconf -i
- name: configure
run: ./configure --enable-docs; cat config.log
- name: make check
run: make check

0 comments on commit 0e6e349

Please sign in to comment.