From 461319e1bb7bc2890da1baac408a3479b8ce91e4 Mon Sep 17 00:00:00 2001 From: lezhan Date: Wed, 4 Dec 2024 07:36:41 +0000 Subject: [PATCH] [github-acction] build jobs failure due to deprecated macOS-12 environment The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15. For more details, see https://github.com/actions/runner-images/issues/10721 In addition, removing -s option because the -s option is not supported by the realpath command in macOS 13 (Ventura) and later versions, so execute realpath differently depending on Linux and MacOS. --- script/bootstrap.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/script/bootstrap.sh b/script/bootstrap.sh index 0760c166..128af416 100755 --- a/script/bootstrap.sh +++ b/script/bootstrap.sh @@ -114,11 +114,11 @@ elif [ "$(uname)" = "Darwin" ]; then ## Install packages brew update brew install coreutils \ - readline \ - cmake \ - ninja \ - swig \ - lcov && true + readline \ + cmake \ + ninja \ + swig \ + lcov && true brew install llvm@14 && \ sudo ln -s "$(brew --prefix llvm@14)/bin/clang-format" /usr/local/bin/clang-format-14 && \