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 15
15
strategy :
16
16
matrix :
17
17
python : ["3.10", "3.11", "3.12"] # 3.9 fails - gh-issue#56
18
+
18
19
env :
19
20
ONEAPI_ROOT : /opt/intel/oneapi
20
21
22
+ defaults :
23
+ run :
24
+ shell : bash -el {0}
25
+
21
26
steps :
22
27
- name : Cancel Previous Runs
23
28
@@ -50,27 +55,25 @@ jobs:
50
55
fetch-depth : 0
51
56
52
57
- 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
56
64
57
65
- name : List oneAPI folder content
58
- shell : bash -l {0}
59
- run : ls /opt/intel/oneapi/compiler
66
+ run : ls ${{ env.ONEAPI_ROOT }}/compiler
60
67
61
68
- name : Build mkl-service
62
- shell : bash -l {0}
63
69
run : |
64
- source /opt/intel/oneapi /setvars.sh
70
+ source ${{ env.ONEAPI_ROOT }} /setvars.sh
65
71
echo $CMPLR_ROOT
66
72
export CC=$CMPLR_ROOT/bin/icx
67
- export CXX=$CMPLR_ROOT/bin/icpx
68
73
export CFLAGS="${CFLAGS} -fno-fast-math"
69
74
python setup.py develop
70
75
71
- - name : Run mkl-service tests
72
- shell : bash -l {0}
76
+ - name : Run mkl-service tests
73
77
run : |
74
- source /opt/intel/oneapi/setvars.sh
75
- pip install pytest
78
+ source ${{ env.ONEAPI_ROOT }}/setvars.sh
76
79
pytest -s -v --pyargs mkl
You can’t perform that action at this time.
0 commit comments