diff --git a/.github/workflows/mac_mpich.yml b/.github/workflows/mac_mpich.yml index 46097be7b..836f19a29 100644 --- a/.github/workflows/mac_mpich.yml +++ b/.github/workflows/mac_mpich.yml @@ -98,6 +98,18 @@ jobs: run: | cd ${GITHUB_WORKSPACE} make -j 8 distcheck DISTCHECK_CONFIGURE_FLAGS="--silent --with-mpi=${GITHUB_WORKSPACE}/MPICH" + - name: make install + run: | + cd ${GITHUB_WORKSPACE} + prefix_path=${GITHUB_WORKSPACE}/pnetcdf_install + echo "---- test make install prefix=${prefix_path}" + make install prefix=${prefix_path} + test/tst_install.sh ${prefix_path} + prefix_path=pnetcdf_install + destdir_path=${GITHUB_WORKSPACE}/inst/ + echo "---- test make install prefix=${prefix_path} DESTDIR=${destdir_path}" + make install prefix=${prefix_path} DESTDIR=${destdir_path} + test/tst_install.sh ${destdir_path}${prefix_path} - name: Cleanup if: ${{ always() }} run: | @@ -105,4 +117,6 @@ jobs: make -s distclean rm -rf ${GITHUB_WORKSPACE}/pnetcdf_output rm -rf ${GITHUB_WORKSPACE}/MPICH + rm -rf ${GITHUB_WORKSPACE}/pnetcdf_install + rm -rf ${GITHUB_WORKSPACE}/inst diff --git a/.github/workflows/mac_openmpi.yml b/.github/workflows/mac_openmpi.yml index aaa106756..50aa66793 100644 --- a/.github/workflows/mac_openmpi.yml +++ b/.github/workflows/mac_openmpi.yml @@ -101,6 +101,18 @@ jobs: run: | cd ${GITHUB_WORKSPACE} make -j 8 distcheck DISTCHECK_CONFIGURE_FLAGS="--silent --with-mpi=${GITHUB_WORKSPACE}/OPENMPI" + - name: make install + run: | + cd ${GITHUB_WORKSPACE} + prefix_path=${GITHUB_WORKSPACE}/pnetcdf_install + echo "---- test make install prefix=${prefix_path}" + make install prefix=${prefix_path} + test/tst_install.sh ${prefix_path} + prefix_path=pnetcdf_install + destdir_path=${GITHUB_WORKSPACE}/inst/ + echo "---- test make install prefix=${prefix_path} DESTDIR=${destdir_path}" + make install prefix=${prefix_path} DESTDIR=${destdir_path} + test/tst_install.sh ${destdir_path}${prefix_path} - name: Cleanup if: ${{ always() }} run: | @@ -108,4 +120,6 @@ jobs: make -s distclean rm -rf ${GITHUB_WORKSPACE}/pnetcdf_output rm -rf ${GITHUB_WORKSPACE}/OPENMPI + rm -rf ${GITHUB_WORKSPACE}/pnetcdf_install + rm -rf ${GITHUB_WORKSPACE}/inst diff --git a/.github/workflows/ubuntu_mpich.yml b/.github/workflows/ubuntu_mpich.yml index ac76247f5..5ccb17756 100644 --- a/.github/workflows/ubuntu_mpich.yml +++ b/.github/workflows/ubuntu_mpich.yml @@ -110,10 +110,25 @@ jobs: run: | cd ${GITHUB_WORKSPACE} make -j 8 distcheck DISTCHECK_CONFIGURE_FLAGS="--silent --with-mpi=${GITHUB_WORKSPACE}/MPICH" + - name: make install + run: | + cd ${GITHUB_WORKSPACE} + prefix_path=${GITHUB_WORKSPACE}/pnetcdf_install + echo "---- test make install prefix=${prefix_path}" + make install prefix=${prefix_path} + test/tst_install.sh ${prefix_path} + prefix_path=pnetcdf_install + destdir_path=${GITHUB_WORKSPACE}/inst/ + echo "---- test make install prefix=${prefix_path} DESTDIR=${destdir_path}" + make install prefix=${prefix_path} DESTDIR=${destdir_path} + test/tst_install.sh ${destdir_path}${prefix_path} - name: Cleanup if: ${{ always() }} run: | cd ${GITHUB_WORKSPACE} make -s distclean + rm -rf ${GITHUB_WORKSPACE}/pnetcdf_output rm -rf ${GITHUB_WORKSPACE}/MPICH + rm -rf ${GITHUB_WORKSPACE}/pnetcdf_install + rm -rf ${GITHUB_WORKSPACE}/inst diff --git a/.github/workflows/ubuntu_openmpi.yml b/.github/workflows/ubuntu_openmpi.yml index b92f2dece..0593a5c03 100644 --- a/.github/workflows/ubuntu_openmpi.yml +++ b/.github/workflows/ubuntu_openmpi.yml @@ -107,6 +107,18 @@ jobs: run: | cd ${GITHUB_WORKSPACE} make -j 8 distcheck DISTCHECK_CONFIGURE_FLAGS="--silent --with-mpi=${GITHUB_WORKSPACE}/OPENMPI" + - name: make install + run: | + cd ${GITHUB_WORKSPACE} + prefix_path=${GITHUB_WORKSPACE}/pnetcdf_install + echo "---- test make install prefix=${prefix_path}" + make install prefix=${prefix_path} + test/tst_install.sh ${prefix_path} + prefix_path=pnetcdf_install + destdir_path=${GITHUB_WORKSPACE}/inst/ + echo "---- test make install prefix=${prefix_path} DESTDIR=${destdir_path}" + make install prefix=${prefix_path} DESTDIR=${destdir_path} + test/tst_install.sh ${destdir_path}${prefix_path} - name: Cleanup if: ${{ always() }} run: | @@ -114,4 +126,6 @@ jobs: make -s distclean rm -rf ${GITHUB_WORKSPACE}/pnetcdf_output rm -rf ${GITHUB_WORKSPACE}/OPENMPI + rm -rf ${GITHUB_WORKSPACE}/pnetcdf_install + rm -rf ${GITHUB_WORKSPACE}/inst