libvirt/ci/cirrus
Andrea Bolognani 5d95617ed9 ci: Disable optimizations on macOS
Clang can be too aggressive at optimizations, which can end up
breaking our test suite. See f9f5ab5718 for details.

As a result of this, since 7944700b40 we are automatically
disabling tests when Clang is used unless it supports the
-fsemantic-interposition compiler flag.

Since the version of Clang included in macOS doesn't support that
compiler flag, we end up always disabling the test suite on that
platform.

This is already far from ideal, considering that it was just last
year when we finally managed to get the test suite to successfully
pass on macOS, and it would be a real shame if the situation
regressed again.

With the upcoming changes, which will turn running 'meson test'
into a hard failure if tests are disabled, this behavior will
result in every single pipeline failing.

Work around the problem the only way we can: disabling
optimizations entirely for the macOS CI jobs.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
2023-10-26 11:31:12 +02:00
..
build.yml ci: Disable optimizations on macOS 2023-10-26 11:31:12 +02:00
freebsd-12.vars ci: Regenerate files with new lcitool 2022-07-11 15:53:54 +02:00
freebsd-13.vars ci: Regenerate files with new lcitool 2022-07-11 15:53:54 +02:00
macos-12.vars ci: Refresh and add Fedora 37 target 2023-01-09 14:53:34 +01:00