Skip to content

Commit

Permalink
feat: add homebrew clang setup for macOS in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yoyolicoris committed Jan 29, 2025
1 parent 4d6e280 commit 287235d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Use homebrew clang
if: matrix.os == 'macos-13'
run: |
brew install libomp
export CC=$(brew --prefix llvm@15)/bin/clang
export CXX=$(brew --prefix llvm@15)/bin/clang++
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit 287235d

Please sign in to comment.