Skip to content

Commit fd5d459

Browse files
committed
1
1 parent 1f59c25 commit fd5d459

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/build-cpack-packages.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,11 @@ jobs:
4848
sudo apt-get install -y rpm ninja-build pkg-config
4949
5050
- name: Configure
51-
run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=${{ inputs.build-type }} ${{ inputs.extra-cmake-flags }}
51+
run: >-
52+
cmake -S . -B build -G Ninja
53+
-DCMAKE_BUILD_TYPE=${{ inputs.build-type }}
54+
-DCMAKE_INSTALL_PREFIX=/usr
55+
${{ inputs.extra-cmake-flags }}
5256
5357
- name: Build
5458
run: cmake --build build --config ${{ inputs.build-type }}
@@ -77,7 +81,8 @@ jobs:
7781
run: |
7882
set -euo pipefail
7983
cmake -S packaging/smoke-test-app -B packaging/smoke-test-app/build \
80-
-G Ninja -DCMAKE_BUILD_TYPE=${{ inputs.build-type }}
84+
-G Ninja -DCMAKE_BUILD_TYPE=${{ inputs.build-type }} \
85+
-DCMAKE_INSTALL_PREFIX=/usr
8186
cmake --build packaging/smoke-test-app/build --config ${{ inputs.build-type }}
8287
(cd packaging/smoke-test-app/build && cpack -G DEB -C ${{ inputs.build-type }})
8388
(cd packaging/smoke-test-app/build && cpack -G RPM -C ${{ inputs.build-type }})

0 commit comments

Comments
 (0)