From ee9337177b97ed4fb500f178808a8cf5f74c8ce7 Mon Sep 17 00:00:00 2001 From: Eric Lunderberg Date: Sat, 27 Apr 2024 10:15:36 -0500 Subject: [PATCH] [HotFix][CI] Use macOS-12 instead of macOS-latest The github `macOS-latest` tag is updating from `macOS-12` to `macOS-14` ([github changelog](https://github.blog/changelog/2024-04-01-macos-14-sonoma-is-generally-available-and-the-latest-macos-runner-image/)). While the `macOS-12` environment provided miniconda by default, the `macOS-14` environment does not (default installations for [`macOS-12`](https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md) and for [`macOS-14`](https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md)). This is causing spurious failures across several PRs, as no base environment is found (CI links to recent examples: [link](https://github.com/apache/tvm/actions/runs/8860158060/job/24330642411?pr=16940#step:3:40), [link](https://github.com/apache/tvm/actions/runs/8860112927/job/24330555555?pr=16938#step:3:40), [link](https://github.com/apache/tvm/actions/runs/8852983771/job/24330650551?pr=16930#step:3:40)). This commit is a temporary fix, replacing the `macOS-latest` tag with `macOS-12`. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 741bcf9b548b..bce259b4d23a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -37,7 +37,7 @@ concurrency: jobs: MacOS: if: ${{ github.repository == 'apache/tvm' }} - runs-on: macOS-latest + runs-on: macOS-12 steps: - uses: actions/checkout@v2 with: