Skip to content

Commit

Permalink
[ghactions] Use a python venv in macos builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoemi09 committed Mar 1, 2024
1 parent 7f4dda1 commit 4145342
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,13 @@ jobs:
if: matrix.os == 'macos-12'
run: |
brew install ccache gcc@12 llvm hdf5 open-mpi openblas
pip3 install mako numpy scipy mpi4py
pip3 install -r requirements.txt
mkdir $HOME/.venv
python3 -m venv $HOME/.venv/my_python
source $HOME/.venv/my_python/bin/activate
pip install mako numpy scipy mpi4py
pip install -r requirements.txt
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
echo "PATH=$PATH" >> $GITHUB_ENV
- name: add clang cxxflags
if: ${{ contains(matrix.cxx, 'clang') }}
Expand Down

0 comments on commit 4145342

Please sign in to comment.