From 05d9d67ed51eff0054222122d671744819372025 Mon Sep 17 00:00:00 2001 From: Yung-Yu Chen Date: Sun, 26 Nov 2023 14:51:07 +0800 Subject: [PATCH] [CI] Force mac use Python 3.11 from homebrew --- .github/workflows/devbuild.yml | 4 ++-- .github/workflows/lint.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/devbuild.yml b/.github/workflows/devbuild.yml index 48222e63..74bf326f 100644 --- a/.github/workflows/devbuild.yml +++ b/.github/workflows/devbuild.yml @@ -230,9 +230,9 @@ jobs: # Reopen for runner image v20231029.1 # old homebrew/core cause brew link and unlink not working brew update # No update because it is slow - # Force using python 3.10 from homebrew + # Force using python 3.11 from homebrew brew unlink python - brew link --force --overwrite python@3.10 + brew link --force --overwrite python@3.11 brew install qt6 - name: dependency by pip diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ffcdae22..2ac5758e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -168,9 +168,9 @@ jobs: # Reopen for runner image v20231029.1 # old homebrew/core cause brew link and unlink not working brew update # No update because it is slow - # Force using python 3.10 from homebrew + # Force using python 3.11 from homebrew brew unlink python - brew link --force --overwrite python@3.10 + brew link --force --overwrite python@3.11 brew install llvm@16 qt6 ln -s "$(brew --prefix llvm@16)/bin/clang-format" "/usr/local/bin/clang-format" ln -s "$(brew --prefix llvm@16)/bin/clang-tidy" "/usr/local/bin/clang-tidy"