File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change 14
14
runs-on : ubuntu-latest
15
15
defaults :
16
16
run :
17
- shell : bash -l {0}
17
+ shell : bash -el {0}
18
18
19
19
strategy :
20
20
matrix :
@@ -34,32 +34,27 @@ jobs:
34
34
- uses : conda-incubator/setup-miniconda@v3
35
35
with :
36
36
auto-activate-base : true
37
- use_mamba : true
37
+ use-mamba : true
38
38
mamba-version : " *"
39
39
channels : conda-forge
40
40
activate-environment : true
41
41
python-version : ${{ matrix.python }}
42
42
43
- - name : Initialize mamba
44
- run : mamba init
45
-
46
43
- name : Install MKL
47
44
run : |
48
- mamba install -c conda-forge mkl-devel mkl-service --override-channels
49
- mamba activate
45
+ conda install -c conda-forge mkl-devel mkl-service --override-channels
46
+ conda activate
50
47
python -c "import sys; print(sys.executable)"
51
48
which python
52
49
python -c "import mkl; print(mkl.__file__)"
53
50
54
51
- name : Build conda package
55
52
run : |
56
- mamba activate
53
+ conda activate
57
54
pip install --no-cache-dir cython pytest hypothesis
58
55
pip install --no-cache-dir numpy ${{ matrix.use_pre }}
59
- mamba info --system --json > system_info.json
60
- export MY_PREFIX=$(jq -r '.conda_prefix' system_info.json)
61
- echo "MY_PREFFIX is '${MY_PREFIX}'"
62
- export MKLROOT=${MY_PREFIX}
56
+ echo "CONDA_PREFFIX is '${CONDA_PREFIX}'"
57
+ export MKLROOT=${CONDA_PREFIX}
63
58
pip install -e . --no-build-isolation --verbose --no-deps
64
59
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${MKLROOT}/lib
65
60
python -m pytest -v mkl_fft/tests/test_fft1d.py mkl_fft/tests/test_fftnd.py
You can’t perform that action at this time.
0 commit comments