gh actions: configure correct path for packaging

This commit is contained in:
Linus Dierheimer
2022-07-21 22:55:47 +02:00
parent d5f3ff1cfe
commit 3c99a82619
+7 -1
View File
@@ -24,7 +24,13 @@ jobs:
- name: configure project
# We reuse the build binary only for the releases.
# We set tweak version to off, because it is wrong, as git tag will happen after this step. Releases don't have a tweak, so this is ok.
run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
run: >
cmake
-DSET_TWEAK=Off
-DBUILD_TESTS=On
-DCMAKE_INSTALL_PREFIX="/usr"
-DCMAKE_INSTALL_SYSCONFDIR="/etc"
.
- name: build project
run: cmake --build . -j$(nproc) --target package