Skip to content

Commit d884a86

Browse files
benlandrumdalcinl
authored andcommitted
GHA: Fix CI issues
1 parent c6c3a64 commit d884a86

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.github/workflows/main.yml

+14-7
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,37 @@ jobs:
2121
mpi:
2222
- mpich
2323
- openmpi
24-
python-version:
25-
- "3.7"
26-
- "3.8"
27-
- "3.9"
24+
py:
25+
# - "3.7"
26+
# - "3.8"
27+
# - "3.9"
2828
- "3.10"
2929
- "3.11"
30-
- "3.12-dev"
30+
- "3.12"
3131

3232
steps:
3333

3434
- uses: actions/checkout@v3
3535

3636
- uses: actions/setup-python@v4
3737
with:
38-
python-version: ${{ matrix.python-version }}
38+
python-version: ${{ matrix.py }}
3939

4040
- run: |
4141
# Install fftw
4242
case $(uname) in
4343
Linux)
44-
sudo apt update && sudo apt install -y -q fftw-dev
44+
sudo apt update
45+
sudo apt install -y -q libfftw3-dev
46+
echo FFTW_INCLUDE_DIR=/usr/include >> $GITHUB_ENV
47+
echo FFTW_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu >> $GITHUB_ENV
4548
;;
4649
Darwin)
50+
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
4751
brew install fftw
52+
prefix=$(brew --prefix fftw)
53+
echo FFTW_INCLUDE_DIR=$prefix/include >> $GITHUB_ENV
54+
echo FFTW_LIBRARY_DIR=$prefix/lib >> $GITHUB_ENV
4855
;;
4956
esac
5057

0 commit comments

Comments
 (0)