aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-02-27 11:02:37 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-02-27 18:04:46 +0100
commitbcc8d2d6547e2efd595628a1528ed609eccddad6 (patch)
tree09c2bd7ee7d46450d4eafd8768d4809d859e472f /.github/workflows/ci.yml
parent4768823708fe42140d23fbb828d2d5f438bb3787 (diff)
downloadlibquotient-bcc8d2d6547e2efd595628a1528ed609eccddad6.tar.gz
libquotient-bcc8d2d6547e2efd595628a1528ed609eccddad6.zip
Build with shared libs for Sonar
Building with static libs fails on QtKeychain apparently underlinking with glib when --coverage is passed.
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 24d58a4c..b704b3b9 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -112,7 +112,7 @@ jobs:
# Build libQuotient as a shared library across platforms but also
# check the static configuration somewhere
CMAKE_ARGS="-G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DBUILD_SHARED_LIBS=${{ !matrix.sonar && runner.os == 'Linux' }} \
+ -DBUILD_SHARED_LIBS=${{ runner.os == 'Linux' }} \
-DCMAKE_INSTALL_PREFIX=~/.local \
-DCMAKE_PREFIX_PATH=~/.local \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON"