diff --git a/.github/workflows/linux-qt6-drivers.yml b/.github/workflows/linux-qt6-drivers.yml index 63e8d431b..dddfbcd9a 100644 --- a/.github/workflows/linux-qt6-drivers.yml +++ b/.github/workflows/linux-qt6-drivers.yml @@ -34,6 +34,8 @@ jobs: strategy: matrix: + lto: [ OFF ] + drivers-type: [ Shared, Loadable, Static ] build-type: @@ -50,6 +52,25 @@ jobs: - key: gcc13 command: g++-13 + include: + - lto: ON + drivers-type: Loadable + build-type: + key: release + name: Release + compiler: + key: clang18 + command: clang++-18 + + - lto: ON + drivers-type: Loadable + build-type: + key: release + name: Release + compiler: + key: gcc13 + command: g++-13 + steps: - uses: actions/checkout@v4 with: 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