Skip to content

Commit 95bcdcb

Browse files
benlandrumdalcinl
authored andcommitted
Fix CI issues
1 parent c6c3a64 commit 95bcdcb

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/main.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- "3.9"
2828
- "3.10"
2929
- "3.11"
30-
- "3.12-dev"
30+
- "3.12"
3131

3232
steps:
3333

@@ -41,10 +41,16 @@ jobs:
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+
echo FFTW_INCLUDE_DIR=/usr/include >> $GITHUB_ENV
47+
echo FFTW_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu >> $GITHUB_ENV
4548
;;
4649
Darwin)
4750
brew install fftw
51+
local prefix=$(brew --prefix fftw)
52+
echo FFTW_INCLUDE_DIR=$prefix/include >> $GITHUB_ENV
53+
echo FFTW_LIBRARY_DIR=$prefix/lib >> $GITHUB_ENV
4854
;;
4955
esac
5056

0 commit comments

Comments
 (0)