@@ -206,7 +206,7 @@ jobs:
206
206
conda index ${{ env.workdir }}/channel
207
207
# Test channel
208
208
conda search ${{ env.PACKAGE_NAME }} -c ${{ env.workdir }}/channel --override-channels --info --json > ${{ env.workdir }}\ver.json
209
- more ${{ env.workdir }}\ver.json
209
+ type ${{ env.workdir }}\ver.json
210
210
- name : Collect dependencies
211
211
shell : cmd /C CALL {0}
212
212
run : |
@@ -219,7 +219,7 @@ jobs:
219
219
SET PACKAGE_VERSION=%%F
220
220
)
221
221
conda install ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }} --only-deps --dry-run > lockfile
222
- more lockfile
222
+ type lockfile
223
223
- name : Cache conda packages
224
224
uses : actions/cache@v3
225
225
env :
@@ -243,7 +243,8 @@ jobs:
243
243
SET PACKAGE_VERSION=%%F
244
244
)
245
245
conda install ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% pytest python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
246
- REM Test installed packages
246
+ echo %CONDA%
247
+ C:\Miniconda\condabin\conda.bat activate
247
248
conda list
248
249
- name : Add library
249
250
shell : pwsh
@@ -281,13 +282,15 @@ jobs:
281
282
- name : Smoke test
282
283
shell : cmd /C CALL {0}
283
284
run : |
285
+ C:\Miniconda\condabin\conda.bat activate
284
286
set SYCL_ENABLE_HOST_DEVICE=1
285
287
python -c "import dpctl; dpctl.lsplatform()"
286
288
python -c "import dpctl; print(dpctl.get_devices(backend='opencl', device_type='gpu'))"
287
289
python -c "import dpctl; print(dpctl.get_num_devices(backend='opencl', device_type='gpu'))"
288
290
- name : Run tests
289
291
shell : cmd /C CALL {0}
290
292
run : |
293
+ C:\Miniconda\condabin\conda.bat activate
291
294
set SYCL_ENABLE_HOST_DEVICE=1
292
295
python -m pytest -p no:faulthandler --pyargs ${{ env.MODULE_NAME }}
293
296
0 commit comments