Skip to content

Commit 287235d

Browse files
committed
feat: add homebrew clang setup for macOS in CI workflow
1 parent 4d6e280 commit 287235d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/python-package.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
uses: actions/setup-python@v3
2626
with:
2727
python-version: ${{ matrix.python-version }}
28+
- name: Use homebrew clang
29+
if: matrix.os == 'macos-13'
30+
run: |
31+
brew install libomp
32+
export CC=$(brew --prefix llvm@15)/bin/clang
33+
export CXX=$(brew --prefix llvm@15)/bin/clang++
2834
- name: Install dependencies
2935
run: |
3036
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)