ci/tumbleweed: enable thin lto for clang build

To increase build diversity.
This commit is contained in:
Kacper Michajłow
2025-03-02 10:53:26 +01:00
parent 450535ba1e
commit e44ca1ff21
2 changed files with 10 additions and 10 deletions

View File

@@ -290,24 +290,24 @@ jobs:
env:
CC: "${{ matrix.config.cc }}"
CXX: "${{ matrix.config.cxx }}"
CC_LD: "${{ matrix.config.ld }}"
CXX_LD: "${{ matrix.config.ld }}"
strategy:
matrix:
config:
- {
cc: "gcc",
cxx: "g++",
}
- {
cc: "clang",
cxx: "clang++",
}
- cc: "gcc"
cxx: "g++"
- cc: "clang"
cxx: "clang++"
ld: "lld"
args: "-Db_lto=true -Db_lto_mode=thin"
steps:
- uses: actions/checkout@v4
- name: Build with meson
id: build
run: |
./ci/build-tumbleweed.sh
./ci/build-tumbleweed.sh ${{ matrix.config.args }}
- name: Print meson log
if: ${{ failure() && steps.build.outcome == 'failure' }}

View File

@@ -3,7 +3,7 @@ set -e
. ./ci/build-common.sh
meson setup build $common_args \
meson setup build $common_args $@ \
-Db_sanitize=address,undefined \
-Dcdda=enabled \
-Ddvbin=enabled \