@@ -49,36 +49,22 @@ jobs:
49
49
with :
50
50
python-version : ${{ matrix.python_version }}
51
51
52
- - name : Install gfortran (macOS)
53
- run : |
54
- source repo/tools/wheels/gfortran_utils.sh
55
- install_gfortran
56
- if : matrix.os == 'macos-latest'
57
-
58
- - name : Install dependencies and scipy-openblas
52
+ - name : Install dependencies
59
53
run : |
60
54
cd repo
61
55
python -m pip install --upgrade pip
62
56
python -m pip install ninja
63
- python -m pip install -r requirements/test_requirements.txt spin scipy-openblas32
64
- spin config-openblas --with-scipy-openblas=32
57
+ python -m pip install -r requirements/test_requirements.txt spin
58
+ python -m pip install -r requirements/build_requirements.txt
59
+ # Use a newer cython
60
+ python -m pip install git+https://github.com/cython/cython.git
65
61
66
- - name : Install NumPy
67
- env :
68
- PKG_CONFIG_PATH : ${{ github.workspace }}/repo/.openblas
62
+ - name : Install NumPy (use Accelerate)
69
63
run : |
70
64
cd repo
71
- python -c "import os; print('PKG_CONFIG_PATH', os.environ['PKG_CONFIG_PATH'])"
72
- # python -m pip install . -v -Csetup-args="--vsenv"
73
- # Use a newer cython
74
- python -m pip install -r requirements/build_requirements.txt
75
- python -m pip install git+https://github.com/cython/cython.git
76
- python -m pip install --no-build-isolation . -v -Csetup-args="--vsenv"
65
+ spin build -- -Ddisable-optimization=true -Dallow-noblas=false
77
66
78
67
- name : Test
79
- shell : bash
80
68
run : |
81
- # do not cd into the repo directory so we can import numpy
82
- cp repo/pytest.ini .
83
- export LIBRARY_PATH="$LIBRARY_PATH:/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
84
- pytest --pyargs numpy -rsx
69
+ cd repo
70
+ spin test -j2 -- --timeout=600 --durations=10
0 commit comments