@@ -31,24 +31,24 @@ jobs:
31
31
32
32
steps :
33
33
- name : Cancel Previous Runs
34
- uses : styfle/cancel-workflow-action@0.10 .0
34
+ uses : styfle/cancel-workflow-action@0.11 .0
35
35
with :
36
36
access_token : ${{ github.token }}
37
37
38
38
- name : Checkout DPNP repo
39
- uses : actions/checkout@v3
39
+ uses : actions/checkout@v3.1.0
40
40
with :
41
41
fetch-depth : 0
42
42
43
43
- name : Checkout oneDPL
44
- uses : actions/checkout@v3
44
+ uses : actions/checkout@v3.1.0
45
45
with :
46
46
repository : oneapi-src/oneDPL
47
47
path : oneDPL
48
48
ref : oneDPL-2021.7.0-release
49
49
50
50
- name : Setup miniconda
51
- uses : conda-incubator/setup-miniconda@v2
51
+ uses : conda-incubator/setup-miniconda@v2.1.1
52
52
with :
53
53
auto-update-conda : true
54
54
python-version : ${{ matrix.python }}
63
63
run : conda install conda-build
64
64
65
65
- name : Cache conda packages
66
- uses : actions/cache@v3
66
+ uses : actions/cache@v3.0.11
67
67
env :
68
68
CACHE_NUMBER : 1 # Increase to reset cache
69
69
with :
80
80
DPLROOT : ' ${{ github.workspace }}/oneDPL'
81
81
82
82
- name : Upload artifact
83
- uses : actions/upload-artifact@v2
83
+ uses : actions/upload-artifact@v3.1.0
84
84
with :
85
85
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
86
86
path : ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.tar.bz2
@@ -101,24 +101,24 @@ jobs:
101
101
102
102
steps :
103
103
- name : Cancel Previous Runs
104
- uses : styfle/cancel-workflow-action@0.10 .0
104
+ uses : styfle/cancel-workflow-action@0.11 .0
105
105
with :
106
106
access_token : ${{ github.token }}
107
107
108
108
- name : Checkout DPNP repo
109
- uses : actions/checkout@v3
109
+ uses : actions/checkout@v3.1.0
110
110
with :
111
111
fetch-depth : 0
112
112
113
113
- name : Checkout oneDPL
114
- uses : actions/checkout@v3
114
+ uses : actions/checkout@v3.1.0
115
115
with :
116
116
repository : oneapi-src/oneDPL
117
117
path : oneDPL
118
118
ref : oneDPL-2021.7.0-release
119
119
120
120
- name : Setup miniconda
121
- uses : conda-incubator/setup-miniconda@v2
121
+ uses : conda-incubator/setup-miniconda@v2.1.1
122
122
with :
123
123
auto-update-conda : true
124
124
python-version : ${{ matrix.python }}
@@ -132,7 +132,7 @@ jobs:
132
132
(echo CONDA_BLD=%CONDA_PREFIX%\conda-bld\win-64\) >> %GITHUB_ENV%
133
133
134
134
- name : Cache conda packages
135
- uses : actions/cache@v3
135
+ uses : actions/cache@v3.0.11
136
136
env :
137
137
CACHE_NUMBER : 1 # Increase to reset cache
138
138
with :
@@ -152,7 +152,7 @@ jobs:
152
152
DPLROOT : ' %GITHUB_WORKSPACE%\oneDPL'
153
153
154
154
- name : Upload artifact
155
- uses : actions/upload-artifact@v2
155
+ uses : actions/upload-artifact@v3.1.0
156
156
with :
157
157
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
158
158
path : ${{ env.CONDA_BLD }}${{ env.PACKAGE_NAME }}-*.tar.bz2
@@ -184,7 +184,7 @@ jobs:
184
184
185
185
steps :
186
186
- name : Download artifact
187
- uses : actions/download-artifact@v2
187
+ uses : actions/download-artifact@v3.0.0
188
188
with :
189
189
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
190
190
path : ${{ env.pkg-path-in-channel }}
@@ -195,7 +195,7 @@ jobs:
195
195
tar -xvf ${{ env.pkg-path-in-channel }}/${{ env.PACKAGE_NAME }}-*.tar.bz2 -C ${{ env.extracted-pkg-path }}
196
196
197
197
- name : Setup miniconda
198
- uses : conda-incubator/setup-miniconda@v2
198
+ uses : conda-incubator/setup-miniconda@v2.1.1
199
199
with :
200
200
auto-update-conda : true
201
201
python-version : ${{ matrix.python }}
@@ -227,7 +227,7 @@ jobs:
227
227
TEST_CHANNELS : ' -c ${{ env.channel-path }} ${{ env.CHANNELS }}'
228
228
229
229
- name : Cache conda packages
230
- uses : actions/cache@v3
230
+ uses : actions/cache@v3.0.11
231
231
env :
232
232
CACHE_NUMBER : 1 # Increase to reset cache
233
233
with :
@@ -248,12 +248,14 @@ jobs:
248
248
249
249
- name : Smoke test
250
250
run : python -c "import dpnp, dpctl; dpctl.lsplatform()"
251
+ env :
252
+ OCL_ICD_FILENAMES : ' libintelocl.so'
251
253
252
254
# TODO: run the whole scope once the issues on CPU are resolved
253
255
- name : Run tests
254
- run : python -m pytest -q -ra --disable-warnings -vv test_arraycreation.py test_dparray.py test_mathematical.py test_special.py
256
+ run : python -m pytest -q -ra --disable-warnings -vv test_arraycreation.py test_dparray.py test_fft.py test_linalg.py test_mathematical.py test_special.py
255
257
env :
256
- SYCL_ENABLE_HOST_DEVICE : ' 1 '
258
+ OCL_ICD_FILENAMES : ' libintelocl.so '
257
259
working-directory : ${{ env.tests-path }}
258
260
259
261
test_windows :
@@ -284,7 +286,7 @@ jobs:
284
286
285
287
steps :
286
288
- name : Download artifact
287
- uses : actions/download-artifact@v2
289
+ uses : actions/download-artifact@v3.0.0
288
290
with :
289
291
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
290
292
path : ${{ env.pkg-path-in-channel }}
@@ -304,7 +306,7 @@ jobs:
304
306
dir ${{ env.extracted-pkg-path }}
305
307
306
308
- name : Setup miniconda
307
- uses : conda-incubator/setup-miniconda@v2
309
+ uses : conda-incubator/setup-miniconda@v2.1.1
308
310
with :
309
311
auto-update-conda : true
310
312
python-version : ${{ matrix.python }}
@@ -350,7 +352,7 @@ jobs:
350
352
run : more lockfile
351
353
352
354
- name : Cache conda packages
353
- uses : actions/cache@v3
355
+ uses : actions/cache@v3.0.11
354
356
env :
355
357
CACHE_NUMBER : 1 # Increase to reset cache
356
358
with :
@@ -426,7 +428,7 @@ jobs:
426
428
427
429
# TODO: run the whole scope once the issues on CPU are resolved
428
430
- name : Run tests
429
- run : python -m pytest -q -ra --disable-warnings -vv test_arraycreation.py test_dparray.py test_mathematical.py test_special.py
431
+ run : python -m pytest -q -ra --disable-warnings -vv test_arraycreation.py test_dparray.py test_fft.py test_linalg.py test_mathematical.py test_special.py
430
432
working-directory : ${{ env.tests-path }}
431
433
432
434
upload_linux :
@@ -448,12 +450,12 @@ jobs:
448
450
449
451
steps :
450
452
- name : Download artifact
451
- uses : actions/download-artifact@v2
453
+ uses : actions/download-artifact@v3.0.0
452
454
with :
453
455
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
454
456
455
457
- name : Setup miniconda
456
- uses : conda-incubator/setup-miniconda@v2
458
+ uses : conda-incubator/setup-miniconda@v2.1.1
457
459
with :
458
460
auto-update-conda : true
459
461
python-version : ${{ matrix.python }}
@@ -486,12 +488,12 @@ jobs:
486
488
python : ['3.8', '3.9']
487
489
steps :
488
490
- name : Download artifact
489
- uses : actions/download-artifact@v2
491
+ uses : actions/download-artifact@v3.0.0
490
492
with :
491
493
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
492
494
493
495
- name : Setup miniconda
494
- uses : conda-incubator/setup-miniconda@v2
496
+ uses : conda-incubator/setup-miniconda@v2.1.1
495
497
with :
496
498
auto-update-conda : true
497
499
python-version : ${{ matrix.python }}
0 commit comments