From 583f995f4e246572e739c6bdcd10c87a6b293e5c Mon Sep 17 00:00:00 2001 From: Zach Burnett Date: Fri, 3 May 2024 08:56:33 -0400 Subject: [PATCH] [CI] install `fftw` with `brew` (#116) * install fftw with brew * set `FFTW_DIR` to library directory installed by `brew` * add `eigen` * update FFTW_DIR to brew installation dir --- .github/workflows/ci.yml | 5 +++++ .github/workflows/ci_cron.yml | 5 +++++ tox.ini | 2 ++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 461dfc63..a2517052 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: | diff --git a/.github/workflows/ci_cron.yml b/.github/workflows/ci_cron.yml index 67e653e5..5da51270 100644 --- a/.github/workflows/ci_cron.yml +++ b/.github/workflows/ci_cron.yml @@ -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: | diff --git a/tox.ini b/tox.ini index 5402bc03..24a8c13d 100644 --- a/tox.ini +++ b/tox.ini @@ -48,6 +48,8 @@ pass_env = CODECOV_* WEBBPSF_PATH GALSIM_CAT_PATH + FFTW_DIR + LIBRARY_PATH extras = test deps =