Skip to content

Commit 74cb3e0

Browse files
committed
manually symlink llvm binaries
and continue despite homebrew error
1 parent eb633b0 commit 74cb3e0

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

action.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,11 @@ runs:
237237
- name: Install MacOS clang dependencies
238238
if: runner.os == 'macOS'
239239
shell: bash
240-
# continue-on-error: true
241-
run: brew install llvm@${{ inputs.version }}
240+
continue-on-error: true
241+
run: |
242+
brew install llvm@${{ inputs.version }}
243+
ln -s "$(brew --prefix llvm@15)/bin/clang-format" "/usr/local/bin/clang-format-15"
244+
ln -s "$(brew --prefix llvm@15)/bin/clang-tidy" "/usr/local/bin/clang-tidy-15"
242245
243246
- name: Setup python venv (Unix)
244247
if: runner.os == 'Linux' || runner.os == 'macOS'

0 commit comments

Comments
 (0)