Skip to content

Commit

Permalink
workflows added LTO to msvc drivers matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Jun 4, 2024
1 parent 39bac70 commit f30b181
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/msvc2022-qt6-drivers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ jobs:

strategy:
matrix:
lto: [ OFF ]

drivers-type: [ Shared, Loadable, Static ]

build-type:
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f30b181

Please sign in to comment.