File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 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 }}
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 }})
You can’t perform that action at this time.
0 commit comments