[llvm] workflows/premerge: Add macOS testing for release branch (PR #124303)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 24 09:24:28 PST 2025


================
@@ -70,3 +71,70 @@ jobs:
           export CXX=/opt/llvm/bin/clang++
 
           ./.ci/monolithic-linux.sh "$(echo ${linux_projects} | tr ' ' ';')" "$(echo ${linux_check_targets})" "$(echo ${linux_runtimes} | tr ' ' ';')" "$(echo ${linux_runtime_check_targets})"
+
+
+  permerge-check-macos:
+    runs-on: macos-14
+    if: >-
+      github.repository_owner == 'llvm' &&
+      (startswith(github.ref_name, 'release/') ||
+       startswith(github.base_ref, 'refs/heads/release/')
+    steps:
+      - name: Checkout LLVM
+        uses: actions/checkout at v4
+        with:
+          fetch-depth: 2
+      - name: Setup ccache
+        uses: hendrikmuhs/ccache-action at v1.2.14
+        with:
+          max-size: "2000M"
+      - name: Install Ninja
+        uses: llvm/actions/install-ninja at main
+      - name: Build and Test
+        run: |
+          git config --global --add safe.directory '*'
----------------
boomanaiden154 wrote:

I'm assuming this was copied from the Linux build? Can you try a build without it?

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


More information about the llvm-commits mailing list