From f30b181a36b86cbfb37e49a75c0b5c2ef100fa39 Mon Sep 17 00:00:00 2001 From: silverqx Date: Tue, 4 Jun 2024 13:29:29 +0200 Subject: [PATCH] workflows added LTO to msvc drivers matrix --- .github/workflows/msvc2022-qt6-drivers.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/msvc2022-qt6-drivers.yml b/.github/workflows/msvc2022-qt6-drivers.yml index ee9f8ad16..94e10cc29 100644 --- a/.github/workflows/msvc2022-qt6-drivers.yml +++ b/.github/workflows/msvc2022-qt6-drivers.yml @@ -33,6 +33,8 @@ jobs: strategy: matrix: + lto: [ OFF ] + drivers-type: [ Shared, Loadable, Static ] build-type: @@ -42,6 +44,13 @@ jobs: - key: release name: Release + include: + - lto: ON + drivers-type: Loadable + build-type: + key: release + name: Release + steps: - uses: actions/checkout@v4 with: @@ -231,6 +240,7 @@ jobs: -D CMAKE_EXPORT_PACKAGE_REGISTRY:BOOL=OFF -D CMAKE_BUILD_TYPE:STRING=${{ matrix.build-type.name }} -D CMAKE_CXX_SCAN_FOR_MODULES:BOOL=OFF + -D CMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=${{ matrix.lto }} -D VCPKG_APPLOCAL_DEPS:BOOL=OFF -D VERBOSE_CONFIGURE:BOOL=ON -D BUILD_TREE_DEPLOY:BOOL=ON