Disable unity builds in GitHub Actions builds

This commit is contained in:
Robbert van der Helm
2022-11-28 13:08:48 +01:00
parent dcdaff849c
commit e3e02bfaf2
+10 -2
View File
@@ -91,7 +91,11 @@ jobs:
# In this version we don't need to statically link libstdc++ since
# Ubuntu 20.04 and similar distros will ship with a version that's
# compatible with GCC 10, even if that's not the default GCC version
meson setup build --buildtype=release --cross-file=cross-wine.conf --unity=on --unity-size=10000 -Dbitbridge=true
# FIXME: Once the Wine versions affected by
# https://bugs.winehq.org/show_bug.cgi?id=53912 are no longer
# around, re-enable unity builds
# meson setup build --buildtype=release --cross-file=cross-wine.conf --unity=on --unity-size=10000 -Dbitbridge=true
meson setup build --buildtype=release --cross-file=cross-wine.conf -Dbitbridge=true
ninja -C build
- name: Strip remaining debug symbols
run: strip build/libyabridge{,-chainloader}-{clap,vst2,vst3}.so build/yabridge-host{,-32}.exe.so
@@ -136,7 +140,11 @@ jobs:
# Statically link to libstdc++ on Ubuntu 18.04, and also target a
# 32-bit OS. CLAP support is disabled here because it won't work with
# 64-bit plugins.
meson setup build --buildtype=release --cross-file=cross-wine.conf --unity=on --unity-size=10000 -Dbitbridge=true -Dclap=false -Dcpp_link_args='-mwindows -static-libstdc++' -Dbuild.cpp_args='-m32' -Dbuild.cpp_link_args='-m32 -static-libstdc++'
# FIXME: Once the Wine versions affected by
# https://bugs.winehq.org/show_bug.cgi?id=53912 are no longer
# around, re-enable unity builds
# meson setup build --buildtype=release --cross-file=cross-wine.conf --unity=on --unity-size=10000 -Dbitbridge=true -Dclap=false -Dcpp_link_args='-mwindows -static-libstdc++' -Dbuild.cpp_args='-m32' -Dbuild.cpp_link_args='-m32 -static-libstdc++'
meson setup build --buildtype=release --cross-file=cross-wine.conf -Dbitbridge=true -Dclap=false -Dcpp_link_args='-mwindows -static-libstdc++' -Dbuild.cpp_args='-m32' -Dbuild.cpp_link_args='-m32 -static-libstdc++'
ninja -C build
- name: Strip remaining debug symbols
run: strip build/libyabridge{,-chainloader}-{vst2,vst3}.so build/yabridge-host{,-32}.exe.so