mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-22 10:57:08 +00:00
ci/tumbleweed: enable thin lto for clang build
To increase build diversity.
This commit is contained in:
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
@@ -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' }}
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user