File tree Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Expand file tree Collapse file tree 1 file changed +15
-12
lines changed Original file line number Diff line number Diff line change 1515 strategy :
1616 matrix :
1717 python : ["3.10", "3.11", "3.12"] # 3.9 fails - gh-issue#56
18+
1819 env :
1920 ONEAPI_ROOT : /opt/intel/oneapi
2021
22+ defaults :
23+ run :
24+ shell : bash -el {0}
25+
2126 steps :
2227 - name : Cancel Previous Runs
2328@@ -50,27 +55,25 @@ jobs:
5055 fetch-depth : 0
5156
5257 - name : Install mkl-service dependencies
53- shell : bash -l {0}
54- run : |
55- pip install cython setuptools pytest
58+ uses : BSFishy/pip-action@v1
59+ with :
60+ packages : |
61+ cython
62+ setuptools
63+ pytest
5664
5765 - name : List oneAPI folder content
58- shell : bash -l {0}
59- run : ls /opt/intel/oneapi/compiler
66+ run : ls ${{ env.ONEAPI_ROOT }}/compiler
6067
6168 - name : Build mkl-service
62- shell : bash -l {0}
6369 run : |
64- source /opt/intel/oneapi /setvars.sh
70+ source ${{ env.ONEAPI_ROOT }} /setvars.sh
6571 echo $CMPLR_ROOT
6672 export CC=$CMPLR_ROOT/bin/icx
67- export CXX=$CMPLR_ROOT/bin/icpx
6873 export CFLAGS="${CFLAGS} -fno-fast-math"
6974 python setup.py develop
7075
71- - name : Run mkl-service tests
72- shell : bash -l {0}
76+ - name : Run mkl-service tests
7377 run : |
74- source /opt/intel/oneapi/setvars.sh
75- pip install pytest
78+ source ${{ env.ONEAPI_ROOT }}/setvars.sh
7679 pytest -s -v --pyargs mkl
You can’t perform that action at this time.
0 commit comments