[libcxx-commits] [libcxx] Attempt entire rewrite of buildkite pipeline using anchors. (PR #71624)

via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 8 12:59:52 PST 2023


================
@@ -28,916 +28,509 @@ env:
     # LLVM RELEASE bump remove compiler ToT - 3, e.g. "Clang 15"
     LLVM_HEAD_VERSION: "18"   # Used compiler, update POST-BRANCH.
     GCC_STABLE_VERSION: "13"
-steps:
-  #
-  # General testing with the default configuration, under all the supported
-  # Standard modes, with Clang and GCC. This catches most issues upfront.
-  # The goal of this step is to catch most issues while being very fast.
-  #
-  - label: "GCC ${GCC_STABLE_VERSION} / C++latest"
-    command: "libcxx/utils/ci/run-buildbot generic-gcc"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
-    env:
-        CC: "gcc-${GCC_STABLE_VERSION}"
-        CXX: "g++-${GCC_STABLE_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
 
-  - label: "C++26"
-    command: "libcxx/utils/ci/run-buildbot generic-cxx26"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
-    env:
-        # Note modules require and absolute path for clang-scan-deps
-        # https://github.com/llvm/llvm-project/issues/61006
-        CC: "/usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang"
-        CXX: "/usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang++"
-        CMAKE: "/opt/bin/cmake"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
+# Define common YAML anchors to reduce duplication
+definitions:
+  _linux_agent: &linux_agent
+      agents:
+        queue: "libcxx-builders"
+        os: "linux"
 
-  - label: "Modular build"
-    command: "libcxx/utils/ci/run-buildbot generic-modules"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
-    env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
+  _windows_agent: &windows_agent
+      agents:
+        queue: "windows"
 
-  - label: "C++11"
-    command: "libcxx/utils/ci/run-buildbot generic-cxx11"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
-    env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
+  _mac_agent: &mac_agent
+      agents:
+        queue: "libcxx-builders"
+        os: "macos"
+        arch: "x86_64" # TODO: Remove this once we are able to run back-deployment on arm64 again, since this isn't x86_64 specific
+
+  _common: &common
+    timeout_in_minutes: 120
     retry:
       automatic:
         - exit_status: -1  # Agent was lost
           limit: 2
-    timeout_in_minutes: 120
-
-  - label: "C++03"
-    command: "libcxx/utils/ci/run-buildbot generic-cxx03"
     artifact_paths:
       - "**/test-results.xml"
       - "**/*.abilist"
-    env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
+      - "**/crash_diagnostics/*"
+
+  _common_env: &common_env
+      ENABLE_CLANG_TIDY: "On"
+      LLVM_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer-${LLVM_HEAD_VERSION}"
+      CLANG_CRASH_DIAGNOSTICS_DIR: "crash_diagnostics"
+      CC: clang-${LLVM_HEAD_VERSION}
+      CXX: clang++-${LLVM_HEAD_VERSION}
+      CMAKE: /opt/bin/cmake
+
+  _versioned_clang: &versioned_clang
+    # Note modules require and absolute path for clang-scan-deps
+    # https://github.com/llvm/llvm-project/issues/61006
+    CC: /usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang
+    CXX: /usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang++
+
+
+steps:
+- label: GCC ${GCC_STABLE_VERSION} / C++latest
+  command: libcxx/utils/ci/run-buildbot generic-gcc
+  <<: *common
+  <<: *linux_agent
+  env:
+    <<: *common_env
+    CC: gcc-${GCC_STABLE_VERSION}
+    CXX: g++-${GCC_STABLE_VERSION}
+
+
+- label: C++26
+  command: libcxx/utils/ci/run-buildbot generic-cxx26
+  env:
+    <<: *common_env
+    <<: *versioned_clang
+  <<: *linux_agent
+  <<: *common
+
+- label: Modular build
+  command: libcxx/utils/ci/run-buildbot generic-modules
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: C++11
+  command: libcxx/utils/ci/run-buildbot generic-cxx11
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: C++03
+  command: libcxx/utils/ci/run-buildbot generic-cxx03
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
 
   #
   # All other supported configurations of libc++.
   #
-  - wait
-
-  - label: "C++23"
-    command: "libcxx/utils/ci/run-buildbot generic-cxx23"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+- wait
+
+- label: C++23
+  command: libcxx/utils/ci/run-buildbot generic-cxx23
+  env:
+    <<: *common_env
+    <<: *versioned_clang
+    ENABLE_STD_MODULES: 'On'
+  <<: *linux_agent
+  <<: *common
+
+- label: C++20
+  command: libcxx/utils/ci/run-buildbot generic-cxx20
+  env:
+    <<: *common_env
+    <<: *versioned_clang
+    ENABLE_STD_MODULES: 'On'
+  <<: *linux_agent
+  <<: *common
+
+- label: C++17
+  command: libcxx/utils/ci/run-buildbot generic-cxx17
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: C++14
+  command: libcxx/utils/ci/run-buildbot generic-cxx14
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: GCC ${GCC_STABLE_VERSION} / C++11
+  command: libcxx/utils/ci/run-buildbot generic-gcc-cxx11
+  env:
+    <<: *common_env
+    CC: gcc-${GCC_STABLE_VERSION}
+    CXX: g++-${GCC_STABLE_VERSION}
+  <<: *linux_agent
+  <<: *common
+
+- label: Clang 16
+  command: libcxx/utils/ci/run-buildbot generic-cxx23
+  env:
+    <<: *common_env
+    CC: clang-16
+    CXX: clang++-16
+    ENABLE_STD_MODULES: 'Off'
+  <<: *linux_agent
+  <<: *common
+
+- label: Clang 17
+  command: libcxx/utils/ci/run-buildbot generic-cxx23
+  env:
+    <<: *common_env
+    CC: /usr/lib/llvm-17/bin/clang
+    CXX: /usr/lib/llvm-17/bin/clang++
+  <<: *linux_agent
+  <<: *common
+
+- group: Sanitizers
+  steps:
+  - label: ASAN
+    command: libcxx/utils/ci/run-buildbot generic-asan
     env:
-        # Note: Modules require and absolute path for clang-scan-deps
-        # https://github.com/llvm/llvm-project/issues/61006
-        CC: "/usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang"
-        CXX: "/usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang++"
-        CMAKE: "/opt/bin/cmake"
-        ENABLE_CLANG_TIDY: "On"
-        ENABLE_STD_MODULES: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
+      <<: *common_env
+    <<: *linux_agent
+    <<: *common
 
-  - label: "C++20"
-    command: "libcxx/utils/ci/run-buildbot generic-cxx20"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+  - label: TSAN
+    command: libcxx/utils/ci/run-buildbot generic-tsan
     env:
-        # Note: Modules require and absolute path for clang-scan-deps
-        # https://github.com/llvm/llvm-project/issues/61006
-        CC: "/usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang"
-        CXX: "/usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang++"
-        CMAKE: "/opt/bin/cmake"
-        ENABLE_CLANG_TIDY: "On"
-        ENABLE_STD_MODULES: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
+      <<: *common_env
+    <<: *linux_agent
+    <<: *common
 
-  - label: "C++17"
-    command: "libcxx/utils/ci/run-buildbot generic-cxx17"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+  - label: UBSAN
+    command: libcxx/utils/ci/run-buildbot generic-ubsan
     env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
+      <<: *common_env
+    <<: *linux_agent
+    <<: *common
 
-  - label: "C++14"
-    command: "libcxx/utils/ci/run-buildbot generic-cxx14"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+  - label: MSAN
+    command: libcxx/utils/ci/run-buildbot generic-msan
     env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
-
-  # Tests with the supported compilers.
-  - label: "GCC ${GCC_STABLE_VERSION} / C++11"
-    command: "libcxx/utils/ci/run-buildbot generic-gcc-cxx11"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+      <<: *common_env
+    <<: *linux_agent
+    <<: *common
+
+- label: Bootstrapping build
+  command: libcxx/utils/ci/run-buildbot bootstrapping-build
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: Static libraries
+  command: libcxx/utils/ci/run-buildbot generic-static
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: Shared library with merged ABI and unwinder libraries
+  command: libcxx/utils/ci/run-buildbot generic-merged
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: Hardened mode
+  command: libcxx/utils/ci/run-buildbot generic-hardened-mode
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: Hardened mode with ABI breaks
+  command: libcxx/utils/ci/run-buildbot generic-hardened-mode-with-abi-breaks
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: Safe mode
+  command: libcxx/utils/ci/run-buildbot generic-safe-mode
+  env:
+    <<: *common_env
+    <<: *versioned_clang
+  <<: *linux_agent
+  <<: *common
+
+- label: Debug mode
+  command: libcxx/utils/ci/run-buildbot generic-debug-mode
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: With LLVM's libunwind
+  command: libcxx/utils/ci/run-buildbot generic-with_llvm_unwinder
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: Modular build with Local Submodule Visibility
+  command: libcxx/utils/ci/run-buildbot generic-modules-lsv
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- group: Parts disabled
+  steps:
+  - label: No threads
+    command: libcxx/utils/ci/run-buildbot generic-no-threads
     env:
-        CC: "gcc-${GCC_STABLE_VERSION}"
-        CXX: "g++-${GCC_STABLE_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
+      <<: *common_env
+      <<: *versioned_clang
+    <<: *linux_agent
+    <<: *common
 
-  - label: "Clang 16"
-    command: "libcxx/utils/ci/run-buildbot generic-cxx23"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+  - label: No filesystem
+    command: libcxx/utils/ci/run-buildbot generic-no-filesystem
     env:
-        CC: "clang-16"
-        CXX: "clang++-16"
-        ENABLE_CLANG_TIDY: "On"
-        ENABLE_STD_MODULES: "Off"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
-
-  - label: "Clang 17"
-    command: "libcxx/utils/ci/run-buildbot generic-cxx23"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+      <<: *common_env
+      <<: *versioned_clang
+    <<: *linux_agent
+    <<: *common
+  - label: No random device
+    command: libcxx/utils/ci/run-buildbot generic-no-random_device
     env:
-        # Note: Modules require and absolute path for clang-scan-deps
-        # https://github.com/llvm/llvm-project/issues/61006
-        CC: "/usr/lib/llvm-17/bin/clang"
-        CXX: "/usr/lib/llvm-17/bin/clang++"
-        CMAKE: "/opt/bin/cmake"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
-
-  # Tests with the sanitizers.
-  - group: "Sanitizers"
-    steps:
-    - label: "ASAN"
-      command: "libcxx/utils/ci/run-buildbot generic-asan"
-      artifact_paths:
-        - "**/test-results.xml"
-        - "**/*.abilist"
-      env:
-          CC: "clang-${LLVM_HEAD_VERSION}"
-          CXX: "clang++-${LLVM_HEAD_VERSION}"
-          ENABLE_CLANG_TIDY: "On"
-      agents:
-        queue: "libcxx-builders"
-        os: "linux"
-      retry:
-        automatic:
-          - exit_status: -1  # Agent was lost
-            limit: 2
-      timeout_in_minutes: 120
-
-    - label: "TSAN"
-      command: "libcxx/utils/ci/run-buildbot generic-tsan"
-      artifact_paths:
-        - "**/test-results.xml"
-        - "**/*.abilist"
-      env:
-          CC: "clang-${LLVM_HEAD_VERSION}"
-          CXX: "clang++-${LLVM_HEAD_VERSION}"
-          ENABLE_CLANG_TIDY: "On"
-      agents:
-        queue: "libcxx-builders"
-        os: "linux"
-      retry:
-        automatic:
-          - exit_status: -1  # Agent was lost
-            limit: 2
-      timeout_in_minutes: 120
-
-    - label: "UBSAN"
-      command: "libcxx/utils/ci/run-buildbot generic-ubsan"
-      artifact_paths:
-        - "**/test-results.xml"
-        - "**/*.abilist"
-      env:
-          CC: "clang-${LLVM_HEAD_VERSION}"
-          CXX: "clang++-${LLVM_HEAD_VERSION}"
-          ENABLE_CLANG_TIDY: "On"
-      agents:
-        queue: "libcxx-builders"
-        os: "linux"
-      retry:
-        automatic:
-          - exit_status: -1  # Agent was lost
-            limit: 2
-      timeout_in_minutes: 120
-
-    - label: "MSAN"
-      command: "libcxx/utils/ci/run-buildbot generic-msan"
-      artifact_paths:
-        - "**/test-results.xml"
-        - "**/*.abilist"
-      env:
-          CC: "clang-${LLVM_HEAD_VERSION}"
-          CXX: "clang++-${LLVM_HEAD_VERSION}"
-          ENABLE_CLANG_TIDY: "On"
-      agents:
-        queue: "libcxx-builders"
-        os: "linux"
-      retry:
-        automatic:
-          - exit_status: -1  # Agent was lost
-            limit: 2
-      timeout_in_minutes: 120
-
-  # Tests with the various supported ways to build libc++.
-  - label: "Bootstrapping build"
-    command: "libcxx/utils/ci/run-buildbot bootstrapping-build"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
-      - "**/crash_diagnostics/*"
+      <<: *common_env
+      <<: *versioned_clang
+    <<: *linux_agent
+    <<: *common
+  - label: No locale
+    command: libcxx/utils/ci/run-buildbot generic-no-localization
     env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        LLVM_SYMBOLIZER_PATH: "/usr/bin/llvm-symbolizer-${LLVM_HEAD_VERSION}"
-        CLANG_CRASH_DIAGNOSTICS_DIR: "crash_diagnostics"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
-
-  # Tests with various build configurations.
-  - label: "Static libraries"
-    command: "libcxx/utils/ci/run-buildbot generic-static"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+      <<: *common_env
+      <<: *versioned_clang
+    <<: *linux_agent
+    <<: *common
+  - label: No Unicode
+    command: libcxx/utils/ci/run-buildbot generic-no-unicode
     env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
-
-  - label: "Shared library with merged ABI and unwinder libraries"
-    command: "libcxx/utils/ci/run-buildbot generic-merged"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+      <<: *common_env
+      <<: *versioned_clang
+    <<: *linux_agent
+    <<: *common
+  - label: No wide characters
+    command: libcxx/utils/ci/run-buildbot generic-no-wide-characters
     env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
-
-  - label: "Hardened mode"
-    command: "libcxx/utils/ci/run-buildbot generic-hardened-mode"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+      <<: *common_env
+      <<: *versioned_clang
+    <<: *linux_agent
+    <<: *common
+  - label: No time zone database
+    command: libcxx/utils/ci/run-buildbot generic-no-tzdb
     env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
-
-  - label: "Hardened mode with ABI breaks"
-    command: "libcxx/utils/ci/run-buildbot generic-hardened-mode-with-abi-breaks"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+      <<: *common_env
+    <<: *linux_agent
+    <<: *common
+  - label: No experimental features
+    command: libcxx/utils/ci/run-buildbot generic-no-experimental
     env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
-    agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
-
-  - label: "Safe mode"
-    command: "libcxx/utils/ci/run-buildbot generic-safe-mode"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+      <<: *common_env
+      <<: *versioned_clang
+    <<: *linux_agent
+    <<: *common
+  - label: No exceptions
+    command: libcxx/utils/ci/run-buildbot generic-no-exceptions
     env:
-        # Note: Modules require an absolute path for `clang-scan-deps` (see
-        # https://github.com/llvm/llvm-project/issues/61006).
-        CC: "/usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang"
-        CXX: "/usr/lib/llvm-${LLVM_HEAD_VERSION}/bin/clang++"
-        CMAKE: "/opt/bin/cmake"
-        ENABLE_CLANG_TIDY: "On"
+      <<: *common_env
+      <<: *versioned_clang
+    <<: *linux_agent
+    <<: *common
+
+- label: Unstable ABI
+  command: libcxx/utils/ci/run-buildbot generic-abi-unstable
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- label: Benchmarks
+  command: libcxx/utils/ci/run-buildbot benchmarks
+  env:
+    <<: *common_env
+  <<: *linux_agent
+  <<: *common
+
+- group: ':windows: Windows'
+  steps:
+  - label: Clang-cl (DLL)
+    command: bash libcxx/utils/ci/run-buildbot clang-cl-dll
+    <<: *windows_agent
+    <<: *common
+
+  - label: Clang-cl (Static)
+    command: bash libcxx/utils/ci/run-buildbot clang-cl-static
+    <<: *windows_agent
+    <<: *common
+
+  - label: Clang-cl (no vcruntime exceptions)
+    command: bash libcxx/utils/ci/run-buildbot clang-cl-no-vcruntime
+    <<: *common
+    <<: *windows_agent
+
+  - label: Clang-cl (Debug mode)
+    command: bash libcxx/utils/ci/run-buildbot clang-cl-debug
+    <<: *windows_agent
+    <<: *common
+
+  - label: Clang-cl (Static CRT)
+    command: bash libcxx/utils/ci/run-buildbot clang-cl-static-crt
+    <<: *windows_agent
+    <<: *common
+
+  - label: MinGW (DLL, x86_64)
+    command: bash libcxx/utils/ci/run-buildbot mingw-dll
+    <<: *windows_agent
+    <<: *common
+
+  - label: MinGW (Static, x86_64)
+    command: bash libcxx/utils/ci/run-buildbot mingw-static
+    <<: *windows_agent
+    <<: *common
+
+  - label: MinGW (DLL, i686)
+    command: bash libcxx/utils/ci/run-buildbot mingw-dll-i686
+    <<: *windows_agent
+    <<: *common
+
+- group: ':mac: Apple'
+  steps:
+  - label: MacOS x86_64
+    command: libcxx/utils/ci/run-buildbot generic-cxx23
+    <<: *mac_agent
+    <<: *common
+
+  - label: MacOS arm64
+    command: libcxx/utils/ci/run-buildbot generic-cxx23
     agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
+      queue: libcxx-builders
+      os: macos
+      arch: arm64
+    <<: *common
 
-  - label: "Debug mode"
-    command: "libcxx/utils/ci/run-buildbot generic-debug-mode"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
-    env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
+  - label: MacOS with Modules
+    command: libcxx/utils/ci/run-buildbot generic-modules
     agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
+      queue: libcxx-builders
+      os: macos
+    <<: *common
 
-  - label: "With LLVM's libunwind"
-    command: "libcxx/utils/ci/run-buildbot generic-with_llvm_unwinder"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
-    env:
-        CC: "clang-${LLVM_HEAD_VERSION}"
-        CXX: "clang++-${LLVM_HEAD_VERSION}"
-        ENABLE_CLANG_TIDY: "On"
+  - label: Apple system
+    command: libcxx/utils/ci/run-buildbot apple-system
     agents:
-      queue: "libcxx-builders"
-      os: "linux"
-    retry:
-      automatic:
-        - exit_status: -1  # Agent was lost
-          limit: 2
-    timeout_in_minutes: 120
-
-  - label: "Modular build with Local Submodule Visibility"
-    command: "libcxx/utils/ci/run-buildbot generic-modules-lsv"
-    artifact_paths:
-      - "**/test-results.xml"
-      - "**/*.abilist"
+      queue: libcxx-builders
+      os: macos
+      arch: arm64
+    <<: *common
+
+  - label: Apple back-deployment macosx10.13
+    command: libcxx/utils/ci/run-buildbot apple-system-backdeployment-10.13
----------------
EricWF wrote:

So we would need `mac_agent_x86` and `mac_agent_arm64`? 

https://github.com/llvm/llvm-project/pull/71624


More information about the libcxx-commits mailing list