Skip to content

Commit

Permalink
CI: Install llvm@12 with brew on macOS (#1104)
Browse files Browse the repository at this point in the history
This is done for two reasons:

1. It provides a workaround for Homebrew/brew#15859
   (which causes `brew install llvm@11` to fail) until a fix becomes available.
   Practically speaking, this means that the nightly Crux builds will work once
   again.
2. It means that our CI consistently tests against LLVM 12 on both Linux and
   macOS.
  • Loading branch information
RyanGlScott authored Aug 14, 2023
1 parent bc64fda commit df3297b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ install_llvm() {
if [[ "$RUNNER_OS" = "Linux" ]]; then
sudo apt-get update -q && sudo apt-get install -y clang-12 llvm-12-tools
elif [[ "$RUNNER_OS" = "macOS" ]]; then
brew install llvm@11
brew install llvm@12
elif [[ "$RUNNER_OS" = "Windows" ]]; then
choco install llvm
else
Expand Down

0 comments on commit df3297b

Please sign in to comment.