[CI] Sunset MacOS x64 runners (#24792)
Signed-off-by: Jelle Schuhmacher <schuehmacher@roofline.ai>
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index aabba43..3d481f5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -325,12 +325,6 @@
uses: ./.github/workflows/ci_macos_arm64_clang.yml
secrets: inherit
- macos_x64_clang:
- needs: setup
- if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'macos_x64_clang')
- uses: ./.github/workflows/ci_macos_x64_clang.yml
- secrets: inherit
-
windows_x64_msvc:
needs: setup
if: contains(fromJson(needs.setup.outputs.enabled-jobs), 'windows_x64_msvc')
@@ -362,7 +356,6 @@
- linux_x64_clang_tsan
- linux_x64_clang_byollvm
- macos_arm64_clang
- - macos_x64_clang
- windows_x64_msvc
uses: ./.github/workflows/workflow_summary.yml
secrets: inherit
diff --git a/.github/workflows/ci_macos_x64_clang.yml b/.github/workflows/ci_macos_x64_clang.yml
deleted file mode 100644
index 8eeb018..0000000
--- a/.github/workflows/ci_macos_x64_clang.yml
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2024 The IREE Authors
-#
-# Licensed under the Apache License v2.0 with LLVM Exceptions.
-# See https://llvm.org/LICENSE.txt for license information.
-# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
-
-name: CI - macOS x64 clang
-
-on:
- schedule:
- # Weekday mornings at 09:15 UTC = 01:15 PST (UTC - 8).
- - cron: "15 9 * * 1-5"
- workflow_call:
- workflow_dispatch:
-
-jobs:
- macos_x64_clang:
- # Prevent scheduled runs in forks (only allow for iree-org or non-schedule triggers).
- if: ${{ github.repository_owner == 'iree-org' || github.event_name != 'schedule' }}
- runs-on: macos-15-intel
- env:
- BUILD_DIR: build-macos
- defaults:
- run:
- shell: bash
- steps:
- - name: "Checking out repository"
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- - name: "Updating git submodules"
- run: git submodule update --init --jobs 8 --depth 1
- # There may be multiple versions of Xcode and SDKs installed.
- # Select the latest Xcode app to enable using Metal offline toolchain.
- - name: "Update Xcode command line tools path"
- run: |
- sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
- xcrun metal --version
- xcrun metallib --version
- - name: "Setting up Python"
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
- with:
- python-version: "3.11"
- cache: "pip"
- - name: "Installing Python packages"
- run: pip install -r runtime/bindings/python/iree/runtime/build_requirements.txt
- - name: "Installing requirements"
- # We need coreutils for `realpath` used in scripts.
- # We need bash because the default one on macOS is fairly old and lacks
- # features we use in scripts.
- run: brew install ninja ccache coreutils bash
- - name: "Building IREE"
- run: bash ./build_tools/cmake/build_all.sh "${BUILD_DIR}"
- - name: "Testing IREE"
- run: bash ./build_tools/cmake/ctest_all.sh "${BUILD_DIR}"
-
- - name: Post to Discord on Failure
- uses: sarisia/actions-status-discord@eb045afee445dc055c18d3d90bd0f244fd062708 # v1.16.0
- if: failure() && github.ref_name == 'main' && github.repository_owner == 'iree-org'
- with:
- webhook: ${{ secrets.DISCORD_WEBHOOK }}
- description: "The ${{ github.workflow }} workflow failed"
- url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/attempts/${{ github.run_attempt }}"
diff --git a/README.md b/README.md
index 540a25a..17d9c7d 100644
--- a/README.md
+++ b/README.md
@@ -49,7 +49,6 @@
| Operating system | Build status |
| -- | --: |
Linux | [](https://github.com/iree-org/iree/actions/workflows/ci_linux_arm64_clang.yml?query=branch%3Amain+event%3Aschedule)
-macOS | [](https://github.com/iree-org/iree/actions/workflows/ci_macos_x64_clang.yml?query=branch%3Amain+event%3Aschedule)
macOS | [](https://github.com/iree-org/iree/actions/workflows/ci_macos_arm64_clang.yml?query=branch%3Amain+event%3Aschedule)
For the full list of workflows see
diff --git a/build_tools/github_actions/configure_ci.py b/build_tools/github_actions/configure_ci.py
index bde7589..d9bef05 100755
--- a/build_tools/github_actions/configure_ci.py
+++ b/build_tools/github_actions/configure_ci.py
@@ -127,7 +127,6 @@
DEFAULT_SCHEDULE_ONLY_JOBS = frozenset(
[
"macos_arm64_clang",
- "macos_x64_clang",
"linux_arm64_clang",
"linux_x64_clang_byollvm",
"linux_x64_clang_tsan",
@@ -177,10 +176,6 @@
[".github/workflows/ci_macos_arm64_clang.yml"],
),
(
- "macos_x64_clang",
- [".github/workflows/ci_macos_x64_clang.yml"],
- ),
- (
"windows_x64_msvc",
[
"*win32*",
@@ -490,8 +485,7 @@
f" '{Trailer.SKIP_JOBS}'"
)
print(
- f"Skipping all jobs because PR description has"
- f" '{Trailer.SKIP_CI}' trailer."
+ f"Skipping all jobs because PR description has '{Trailer.SKIP_CI}' trailer."
)
return set()
diff --git a/docs/website/docs/developers/general/contributing.md b/docs/website/docs/developers/general/contributing.md
index 7c9dee9..f593dd5 100644
--- a/docs/website/docs/developers/general/contributing.md
+++ b/docs/website/docs/developers/general/contributing.md
@@ -489,7 +489,7 @@
* Opt in to the MacOS build and test workflows:
``` text
- ci-extra: macos_arm64_clang, macos_x64_clang
+ ci-extra: macos_arm64_clang
```
* Other opt in builds:
diff --git a/docs/website/docs/developers/general/github-actions.md b/docs/website/docs/developers/general/github-actions.md
index d43a69e..79f4872 100644
--- a/docs/website/docs/developers/general/github-actions.md
+++ b/docs/website/docs/developers/general/github-actions.md
@@ -81,11 +81,8 @@
Workflow file | Build status | Event triggers
-- | --: | --
[`ci.yml`](https://github.com/iree-org/iree/blob/main/.github/workflows/ci.yml) | [](https://github.com/iree-org/iree/actions/workflows/ci.yml?query=branch%3Amain+event%3Apush) | `pull_request`, `push`
- | |
[`ci_linux_arm64_clang.yml`](https://github.com/iree-org/iree/blob/main/.github/workflows/ci_linux_arm64_clang.yml) | [](https://github.com/iree-org/iree/actions/workflows/ci_linux_arm64_clang.yml?query=branch%3Amain+event%3Aschedule) | `schedule`
-[`ci_macos_x64_clang.yml`](https://github.com/iree-org/iree/blob/main/.github/workflows/ci_macos_x64_clang.yml) | [](https://github.com/iree-org/iree/actions/workflows/ci_macos_x64_clang.yml?query=branch%3Amain+event%3Aschedule) | `schedule`
[`ci_macos_arm64_clang.yml`](https://github.com/iree-org/iree/blob/main/.github/workflows/ci_macos_arm64_clang.yml) | [](https://github.com/iree-org/iree/actions/workflows/ci_macos_arm64_clang.yml?query=branch%3Amain+event%3Aschedule) | `schedule`
- | |
[`ci_linux_x64_clang_byollvm.yml`](https://github.com/iree-org/iree/blob/main/.github/workflows/ci_linux_x64_clang_byollvm.yml) | [](https://github.com/iree-org/iree/actions/workflows/ci_linux_x64_clang_byollvm.yml?query=branch%3Amain+event%3Aschedule) | `schedule`
[`ci_linux_x64_clang_debug.yml`](https://github.com/iree-org/iree/blob/main/.github/workflows/ci_linux_x64_clang_debug.yml) | [](https://github.com/iree-org/iree/actions/workflows/ci_linux_x64_clang_debug.yml?query=branch%3Amain+event%3Aschedule) | `schedule`
[`ci_linux_x64_clang_tsan.yml`](https://github.com/iree-org/iree/blob/main/.github/workflows/ci_linux_x64_clang_tsan.yml) | [](https://github.com/iree-org/iree/actions/workflows/ci_linux_x64_clang_tsan.yml?query=branch%3Amain+event%3Aschedule) | `schedule`