Skip to content

Commit

Permalink
[github-acction] build jobs failure due to deprecated macOS-12 enviro…
Browse files Browse the repository at this point in the history
…nment

The macOS-12 environment is deprecated, consider switching to macOS-13, macOS-14 (macos-latest) or macOS-15.

For more details, see actions/runner-images#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.
  • Loading branch information
ZhangLe2016 committed Dec 4, 2024
1 parent 80ce37a commit 461319e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions script/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down

0 comments on commit 461319e

Please sign in to comment.