Skip to content

Commit 6746cd7

Browse files
benlandrumdalcinl
authored andcommittedApr 23, 2024
GHA: Fix CI issues
1 parent c6c3a64 commit 6746cd7

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed
 

‎.github/workflows/main.yml

+15-7
Original file line numberDiff line numberDiff line change
@@ -21,30 +21,38 @@ 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 fftw-dev
46+
prefix=/usr
47+
echo FFTW_INCLUDE_DIR=$prefix/include >> $GITHUB_ENV
48+
echo FFTW_LIBRARY_DIR=$prefix/lib >> $GITHUB_ENV
4549
;;
4650
Darwin)
51+
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
4752
brew install fftw
53+
prefix=$(brew --prefix fftw)
54+
echo FFTW_INCLUDE_DIR=$prefix/include >> $GITHUB_ENV
55+
echo FFTW_LIBRARY_DIR=$prefix/lib >> $GITHUB_ENV
4856
;;
4957
esac
5058

0 commit comments

Comments
 (0)