Skip to content

Commit

Permalink
ci(macos): use omp enabled homebrew-llvm-clang
Browse files Browse the repository at this point in the history
  • Loading branch information
nauaneed committed Aug 20, 2024
1 parent 50b56a2 commit a42c2ce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ on:
# code afresh and cache it.
- cron: '0 4 1 * *' # Ref https://crontab.guru/#0_4_1_*_*


jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-14, windows-latest]
python-version: [3.11]

runs-on: ${{ matrix.os }}
Expand All @@ -24,6 +23,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Use llvm-clang on macOS
if: ${{ runner.os == 'macOS' }}
run: |
export CC= "$(brew --prefix llvm@15)/bin/clang"
export CXX= "$(brew --prefix llvm@15)/bin/clang++"
- name: Set up Python ${{ matrix.python-version }}
uses: conda-incubator/setup-miniconda@v3
with:
Expand Down

0 comments on commit a42c2ce

Please sign in to comment.