Skip to content

Commit 4ddddf2

Browse files
committed
workflows added LTO
- to msvc/linux drivers matrix
1 parent 5534c3a commit 4ddddf2

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.github/workflows/linux-qt6-drivers.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ jobs:
3434

3535
strategy:
3636
matrix:
37+
lto: [ OFF ]
38+
3739
drivers-type: [ Shared, Loadable, Static ]
3840

3941
build-type:
@@ -50,6 +52,25 @@ jobs:
5052
- key: gcc13
5153
command: g++-13
5254

55+
include:
56+
- lto: ON
57+
drivers-type: Loadable
58+
build-type:
59+
key: release
60+
name: Release
61+
compiler:
62+
key: clang18
63+
command: clang++-18
64+
65+
- lto: ON
66+
drivers-type: Loadable
67+
build-type:
68+
key: release
69+
name: Release
70+
compiler:
71+
key: gcc13
72+
command: g++-13
73+
5374
steps:
5475
- uses: actions/checkout@v4
5576
with:

.github/workflows/msvc2022-qt6-drivers.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ jobs:
3333

3434
strategy:
3535
matrix:
36+
lto: [ OFF ]
37+
3638
drivers-type: [ Shared, Loadable, Static ]
3739

3840
build-type:
@@ -42,6 +44,13 @@ jobs:
4244
- key: release
4345
name: Release
4446

47+
include:
48+
- lto: ON
49+
drivers-type: Loadable
50+
build-type:
51+
key: release
52+
name: Release
53+
4554
steps:
4655
- uses: actions/checkout@v4
4756
with:
@@ -231,6 +240,7 @@ jobs:
231240
-D CMAKE_EXPORT_PACKAGE_REGISTRY:BOOL=OFF
232241
-D CMAKE_BUILD_TYPE:STRING=${{ matrix.build-type.name }}
233242
-D CMAKE_CXX_SCAN_FOR_MODULES:BOOL=OFF
243+
-D CMAKE_INTERPROCEDURAL_OPTIMIZATION:BOOL=${{ matrix.lto }}
234244
-D VCPKG_APPLOCAL_DEPS:BOOL=OFF
235245
-D VERBOSE_CONFIGURE:BOOL=ON
236246
-D BUILD_TREE_DEPLOY:BOOL=ON

0 commit comments

Comments
 (0)