File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Editable build using pip
2+
3+ on : push
4+
5+ permissions : read-all
6+
7+ env :
8+ PACKAGE_NAME : mkl_fft
9+ MODULE_NAME : mkl_fft
10+ TEST_ENV_NAME : test_mkl_fft
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+ strategy :
16+ matrix :
17+ python : ['3.9', '3.10', '3.11', '3.12']
18+
19+ steps :
20+ - uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+
24+ - name : Set pkgs_dirs
25+ run : |
26+ echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
27+
28+ - name : Add conda to system path
29+ run : echo $CONDA/bin >> $GITHUB_PATH
30+
31+ - name : Install MKL
32+ run : conda install -c conda-forge mkl-devel mkl-service --override-channels
33+
34+ - name : Build conda package
35+ run : |
36+ pip install --no-cache-dir cython pytest hypothesis
37+ pip install --no-cache-dir numpy --pre
38+ pip install -e . --no-build-isolation
39+ python -m pytest -v mkl_fft/tests
You can’t perform that action at this time.
0 commit comments