Skip to content

Commit

Permalink
[CI] install fftw with brew (#116)
Browse files Browse the repository at this point in the history
* install fftw with brew

* set `FFTW_DIR` to library directory installed by `brew`

* add `eigen`

* update FFTW_DIR to brew installation dir
  • Loading branch information
zacharyburnett authored May 3, 2024
1 parent 5d17102 commit 583f995
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,14 @@ jobs:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
needs: [ data ]
with:
libraries: |
brew:
- eigen
- fftw
setenv: |
WEBBPSF_PATH: ${{ needs.data.outputs.webbpsf_path }}
GALSIM_CAT_PATH: ${{ needs.data.outputs.galsim_cat_path }}
FFTW_DIR: /opt/homebrew/opt/fftw/lib/
cache-path: ${{ needs.data.outputs.path }}
cache-key: data-${{ needs.data.outputs.hash }}
envs: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/ci_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,14 @@ jobs:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@main
needs: [ data ]
with:
libraries: |
brew:
- eigen
- fftw
setenv: |
WEBBPSF_PATH: ${{ needs.data.outputs.webbpsf_path }}
GALSIM_CAT_PATH: ${{ needs.data.outputs.galsim_cat_path }}
FFTW_DIR: /opt/homebrew/opt/fftw/lib/
cache-path: ${{ needs.data.outputs.path }}
cache-key: data-${{ needs.data.outputs.hash }}
envs: |
Expand Down
2 changes: 2 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ pass_env =
CODECOV_*
WEBBPSF_PATH
GALSIM_CAT_PATH
FFTW_DIR
LIBRARY_PATH
extras =
test
deps =
Expand Down

0 comments on commit 583f995

Please sign in to comment.