From 0e6e349ea8524786c1e1947b8597b005cafbe967 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Fri, 31 Jul 2020 07:53:40 -0600 Subject: [PATCH] trying doc build a different way --- .github/workflows/autotools_2.yml | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/autotools_2.yml diff --git a/.github/workflows/autotools_2.yml b/.github/workflows/autotools_2.yml new file mode 100644 index 00000000000..1c81071c3e4 --- /dev/null +++ b/.github/workflows/autotools_2.yml @@ -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