ci: Enable LTO project-wide

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2023-05-14 01:27:45 +02:00 committed by Xaymar
parent bfc3560dd9
commit 4a37e8e09e

View file

@ -141,7 +141,8 @@ jobs:
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/build/ci/install" \
-DPACKAGE_NAME="streamfx-${{ matrix.package_name }}" \
-DPACKAGE_PREFIX="${{ github.workspace }}/build/package" \
-DCMAKE_PREFIX_PATH="${{ github.workspace }}/build/obs/install;${{ github.workspace }}/build/qt;${{ github.workspace }}/build/obsdeps"
-DCMAKE_PREFIX_PATH="${{ github.workspace }}/build/obs/install;${{ github.workspace }}/build/qt;${{ github.workspace }}/build/obsdeps" \
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
- name: "Build: Debug"
continue-on-error: true
shell: bash
@ -285,7 +286,8 @@ jobs:
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/build/ci/install" \
-DPACKAGE_NAME="streamfx-${{ matrix.package_name }}" \
-DPACKAGE_PREFIX="${{ github.workspace }}/build/package" \
-DCMAKE_PREFIX_PATH="${{ github.workspace }}/build/obs/install;${{ github.workspace }}/build/qt;${{ github.workspace }}/build/obsdeps"
-DCMAKE_PREFIX_PATH="${{ github.workspace }}/build/obs/install;${{ github.workspace }}/build/qt;${{ github.workspace }}/build/obsdeps" \
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
- name: "Build: Debug"
continue-on-error: true
shell: bash
@ -463,7 +465,8 @@ jobs:
-DCMAKE_INSTALL_PREFIX="${{ github.workspace }}/build/ci/install" \
-DPACKAGE_NAME="streamfx-${{ env.PACKAGE_NAME }}" \
-DPACKAGE_PREFIX="${{ github.workspace }}/build/package" \
-Dlibobs_DIR="${{ github.workspace }}/build/obs/install"
-Dlibobs_DIR="${{ github.workspace }}/build/obs/install" \
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON
- name: "Build: Debug"
continue-on-error: true
shell: bash