From 5174ffc689d82e61f69a047c83572135af53bd64 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Mon, 2 Oct 2023 06:15:10 -0600 Subject: [PATCH] check shared library build with a make install --- .github/workflows/Linux_options.yml | 5 +++++ .github/workflows/grib_utils.yml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Linux_options.yml b/.github/workflows/Linux_options.yml index 32c40e7c..c092099b 100644 --- a/.github/workflows/Linux_options.yml +++ b/.github/workflows/Linux_options.yml @@ -172,6 +172,11 @@ jobs: run: | cd $GITHUB_WORKSPACE/g2/build ctest --verbose --rerun-failed --output-on-failure + + - name: check_shared + if: ${{ matrix.options }} = "-DENABLE_SHARED=ON" + run: | + cd $GITHUB_WORKSPACE/g2/build make install ls -l ~/g2/install/lib diff --git a/.github/workflows/grib_utils.yml b/.github/workflows/grib_utils.yml index 2cfd5128..72ca5b81 100644 --- a/.github/workflows/grib_utils.yml +++ b/.github/workflows/grib_utils.yml @@ -132,7 +132,7 @@ jobs: cd w3emc mkdir build cd build - cmake -DCMAKE_PREFIX_PATH=~/bacio -DCMAKE_INSTALL_PREFIX=~/w3emc -DBUILD_WITH_BUFR=OFF .. + cmake -DCMAKE_PREFIX_PATH=~/bacio -DCMAKE_INSTALL_PREFIX=~/w3emc -DBUILD_WITH_BUFR=OFF -DBUILD_WITH_EXTRA_DEPS=ON .. make -j2 make install