aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-28 20:20:41 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-29 18:17:51 +0100
commitac7ee73cb4fa1ac05f7bcae1800cb79b36c7647f (patch)
tree39170b084a2934f88cca22f54c83a45b60cb52a8 /.github/workflows
parent806bfd6da07127c33d1014ef2335a8b9602afe6c (diff)
downloadlibquotient-ac7ee73cb4fa1ac05f7bcae1800cb79b36c7647f.tar.gz
libquotient-ac7ee73cb4fa1ac05f7bcae1800cb79b36c7647f.zip
CI: Put the shared object configuration to the test
For now on Linux with GCC only, with a plan to add Windows eventually.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a1b6f0c0..e4bf8e29 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -105,8 +105,10 @@ jobs:
fi
echo "QUOTEST_ORIGIN=$VERSION @ ${{ runner.os }}/${{ matrix.compiler }}" >>$GITHUB_ENV
+ # Build libQuotient as a shared library for the sonar-enabled run
+ # to have this configuration also covered
CMAKE_ARGS="-G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DBUILD_SHARED_LIBS=false \
+ -DBUILD_SHARED_LIBS=${{ matrix.sonar }} \
-DCMAKE_INSTALL_PREFIX=~/.local \
-DCMAKE_PREFIX_PATH=~/.local \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON"