-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: make floess_lib a dependency [wheel build]
- Loading branch information
Showing
3 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,18 @@ | ||
set -xe | ||
|
||
python -c "import sys; import skmisc; sys.exit(skmisc.test())" | ||
if [[ $RUNNER_OS == "Windows" ]]; then | ||
# GH 20391 | ||
PY_DIR=$(python -c "import sys; print(sys.prefix)") | ||
mkdir $PY_DIR/libs | ||
fi | ||
|
||
if [[ $RUNNER_OS == "macOS" && $RUNNER_ARCH == "X64" ]]; then | ||
# Not clear why this is needed but it seems on x86_64 this is not the default | ||
# and without it f2py tests fail | ||
export DYLD_LIBRARY_PATH="$DYLD_LIBRARY_PATH:/usr/local/lib" | ||
# Needed so gfortran (not clang) can find system libraries like libm (-lm) | ||
# in f2py tests | ||
export LIBRARY_PATH="$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib" | ||
fi | ||
|
||
# python -c "import sys; import skmisc; sys.exit(skmisc.test())" |