From bd90664a2e985a1768dcdce894c58cc507ce0187 Mon Sep 17 00:00:00 2001 From: Przemyslaw Skibinski Date: Tue, 13 Oct 2026 13:58:45 +0200 Subject: [PATCH] PXC-5355 [8.4] Disable Azure Pipelines macOS legs https://perconadev.atlassian.net/browse/PXC-5355 The macOS-14 hosted image is deprecated: jobs using it fail during the brownouts that started on 2026-10-05, and the image is removed on 2026-11-02. On 8.4 they are extended-tier legs, built only with fullCI or on the nightly. Update the leg counts in the comments (36 -> 34 total, 31 -> 29 extended). Percona Server moved its macOS legs to macOS-15 (PS-11625), but PXC cannot follow: PXC can't be built on macOS at all. Galera is built as part of the PXC cmake build since PXC-4186, and galerautils' gu_threads.h maps its thread types only under `#if __unix__`, which Apple clang does not define, so compiling Galera fails with "unknown type name 'gu_mutex_t_SYS'". The macOS legs were dropped from PXC once before, in PXC-4221 (2023), and came back with the release-8.0.33 merge; they have not been able to build PXC since. Comment out both macOS 14 legs (RelWithDebInfo and Debug), as Percona Server did on 8.0. The Darwin branches in the build steps are kept, so the legs can be re-enabled by uncommenting them if Galera is ever ported to macOS. --- azure-pipelines.yml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4a72db93c07..829954a42ab 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -11,7 +11,7 @@ # } # # Omit templateParameters (or pass false) for the five default configs; pass -# true for all 36. It also appears as a checkbox in the Run pipeline dialog. +# true for all 34. It also appears as a checkbox in the Run pipeline dialog. parameters: - name: fullCI displayName: 'Build all configs, not just the default five' @@ -122,7 +122,7 @@ jobs: # Two tiers of coverage: # # default the five configs listed first -- built on every pull request. - # extended the remaining 31, each guarded so they are built only when the + # extended the remaining 29, each guarded so they are built only when the # fullCI parameter is set (how GitHub Actions asks for a full run) # or on the nightly schedule. # @@ -131,7 +131,7 @@ jobs: # # The gate keys on the parameter rather than on Build.Reason because a run # created through the REST API reports Build.Reason=Manual -- so testing - # "not a pull request" would make every GitHub-Actions-queued run build all 36. + # "not a pull request" would make every GitHub-Actions-queued run build all 34. # Schedule is kept so the nightly still covers everything. # # It cannot key on the branch, which is what an earlier attempt did. Measured @@ -178,18 +178,18 @@ jobs: # Extended coverage below: built only with fullCI, or on the nightly. - # macOS 14 - ${{ if or(parameters.fullCI, eq(variables['Build.Reason'], 'Schedule')) }}: - macOS 14 RelWithDebInfo: - imageName: 'macOS-14' - Compiler: clang - BuildType: RelWithDebInfo - - ${{ if or(parameters.fullCI, eq(variables['Build.Reason'], 'Schedule')) }}: - macOS 14 Debug: - imageName: 'macOS-14' - Compiler: clang - BuildType: Debug + # macOS 14 (disabled) + # ${{ if or(parameters.fullCI, eq(variables['Build.Reason'], 'Schedule')) }}: + # macOS 14 RelWithDebInfo: + # imageName: 'macOS-14' + # Compiler: clang + # BuildType: RelWithDebInfo + # + # ${{ if or(parameters.fullCI, eq(variables['Build.Reason'], 'Schedule')) }}: + # macOS 14 Debug: + # imageName: 'macOS-14' + # Compiler: clang + # BuildType: Debug # clang-14 and newer compilers