Skip to content

Commit

Permalink
set macOS env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mprib committed Sep 15, 2024
1 parent 0fb3cb4 commit f7d2c35
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ jobs:
if: runner.os == 'Linux'
run: sudo apt-get install --fix-missing libgl1-mesa-dev

# macOS-specific steps (if needed)
- name: Update Homebrew (macOS)
# macOS-specific steps
- name: Set environment variables (macOS)
if: runner.os == 'macOS'
run: brew update
- name: Install OpenBLAS (macOS)
if: runner.os == 'macOS'
run: brew install openblas
run: |
echo "MKL_NUM_THREADS=1" >> $GITHUB_ENV
echo "NUMEXPR_NUM_THREADS=1" >> $GITHUB_ENV
echo "OMP_NUM_THREADS=1" >> $GITHUB_ENV
- name: Install dependencies
run: |
Expand Down

0 comments on commit f7d2c35

Please sign in to comment.