Skip to content

Commit

Permalink
[ghactions] Synchronize build.yml with nda
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentzell committed Jan 30, 2025
1 parent 2621442 commit 8a06e32
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,18 +80,23 @@ jobs:
python3-sphinx
python3-nbsphinx
- name: Set up virtualenv
run: |
mkdir $HOME/.venv
python3 -m venv --system-site-packages $HOME/.venv/my_python
source $HOME/.venv/my_python/bin/activate
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
echo "PATH=$PATH" >> $GITHUB_ENV
- name: Install homebrew dependencies
if: ${{ contains(matrix.os, 'macos') }}
run: |
brew update
brew install ccache gcc llvm boost fftw hdf5 open-mpi openblas
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=$(brew --prefix llvm)/bin:$(brew --prefix gcc)/bin:$PATH" >> $GITHUB_ENV
echo "PYTHONPATH=$(brew --prefix llvm)/lib/python3.13/site-packages" >> $GITHUB_ENV
- name: Add clang CXXFLAGS
if: ${{ contains(matrix.cxx, 'clang') }}
Expand Down

0 comments on commit 8a06e32

Please sign in to comment.