Repository navigation
531 lines (475 loc) · 21.3 KB
/
Copy pathintel-ci.yml
File metadata and controls
531 lines (475 loc) · 21.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
# Builds and tests dpctl's conda packages and wheels, see ci/README.md
name: Intel CI
on:
push:
branches: [master]
tags: ['*']
pull_request:
permissions:
contents: read
env:
# Miniforge 26.9.4-0 fails setup-miniconda's conda init on Windows runners; 26.7.2-0 works.
MINIFORGE_VERSION: 26.7.2-0
# A push or tag run gets a group of its own, so a queued master push is never dropped.
concurrency:
group: intel-ci-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
matrix:
name: Platforms and Python versions
runs-on: ${{ vars.GH_CI_RUNNER || 'ubuntu-latest' }}
timeout-minutes: 10
outputs:
matrix: ${{ steps.declared.outputs.matrix }}
wheel: ${{ steps.declared.outputs.wheel }}
examples-linux: ${{ steps.declared.outputs.examples-linux }}
examples-windows: ${{ steps.declared.outputs.examples-windows }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.14"
- name: Read the declared platforms and Python versions
id: declared
run: |
python ci/matrix.py --event "$GITHUB_EVENT_NAME" --github-output matrix
python ci/matrix.py --system wheel --event "$GITHUB_EVENT_NAME" --github-output wheel
python ci/matrix.py --newest --platform linux --event "$GITHUB_EVENT_NAME" --github-output examples-linux
python ci/matrix.py --newest --platform windows --event "$GITHUB_EVENT_NAME" --github-output examples-windows
# The recipe and pyproject.toml declare no macOS, as SYCL has none.
build:
name: ${{ matrix.name }} Python ${{ matrix.python }}
needs: matrix
runs-on: ${{ matrix.platform == 'windows' && (vars.GH_CI_WINDOWS_RUNNER || 'windows-2022') || matrix.platform == 'macos' && (vars.GH_CI_MACOS_RUNNER || 'macos-26-intel') || (vars.GH_CI_RUNNER || 'ubuntu-latest') }}
timeout-minutes: 150
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# The recipe takes its version from git describe.
fetch-depth: 0
- uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: ${{ env.MINIFORGE_VERSION }}
activate-environment: ""
conda-remove-defaults: "true"
- name: Install conda-build
run: conda env update -q -n base --file environments/build_conda_pkg.yml
- name: Build and run the recipe tests
env:
PYTHON_VERSION: ${{ matrix.python }}
run: python ci/build.py --python "$PYTHON_VERSION" --output "$RUNNER_TEMP/output"
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: dpctl ${{ matrix.name }} Python ${{ matrix.python }}
path: ${{ runner.temp }}/output/*.conda
if-no-files-found: error
# Tags and pushes to master keep them 30 days, pull requests 7.
retention-days: ${{ github.event_name == 'push' && 30 || 7 }}
test:
name: Test ${{ matrix.name }} Python ${{ matrix.python }}
needs: [matrix, build, build-wheel]
runs-on: ${{ matrix.platform == 'windows' && (vars.GH_CI_WINDOWS_RUNNER || 'windows-2022') || matrix.platform == 'macos' && (vars.GH_CI_MACOS_RUNNER || 'macos-26-intel') || (vars.GH_CI_RUNNER || 'ubuntu-latest') }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.matrix) }}
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: dpctl ${{ matrix.name }} Python ${{ matrix.python }}
path: ${{ runner.temp }}/artifacts
- uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: ${{ env.MINIFORGE_VERSION }}
activate-environment: ""
conda-remove-defaults: "true"
- name: Install the package and run ci/test.py
env:
PYTHON_VERSION: ${{ matrix.python }}
EVENT: ${{ startsWith(github.ref, 'refs/tags/') && 'tag' || github.event_name == 'pull_request' && 'pr' || 'push' }}
COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}
run: >-
python ci/hooks.py --python "$PYTHON_VERSION" --artifacts "$RUNNER_TEMP/artifacts"
--work "$RUNNER_TEMP/hooks" --event "$EVENT" --commit "$COMMIT"
build-wheel:
name: ${{ matrix.name }} Wheels Python ${{ matrix.python }}
needs: matrix
runs-on: ${{ matrix.platform == 'windows' && (vars.GH_CI_WINDOWS_RUNNER || 'windows-2022') || matrix.platform == 'macos' && (vars.GH_CI_MACOS_RUNNER || 'macos-26-intel') || (vars.GH_CI_RUNNER || 'ubuntu-latest') }}
timeout-minutes: 150
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.wheel) }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
# versioneer takes the version from git describe.
fetch-depth: 0
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.14"
# CMake builds with Ninja and icx, which need MSVC's environment.
- uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
if: matrix.platform == 'windows'
- name: Install cibuildwheel
run: python -m pip install --no-input -r environments/cibuildwheel.txt
- name: Build the wheel
env:
PYTHON_VERSION: ${{ matrix.python }}
run: python ci/build.py --system wheel --python "$PYTHON_VERSION" --output "$RUNNER_TEMP/output"
- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: dpctl ${{ matrix.name }} Wheels Python ${{ matrix.python }}
path: ${{ runner.temp }}/output/*.whl
if-no-files-found: error
retention-days: ${{ github.event_name == 'push' && 30 || 7 }}
test-wheel:
name: Test ${{ matrix.name }} Wheels Python ${{ matrix.python }}
needs: [matrix, build, build-wheel]
runs-on: ${{ matrix.platform == 'windows' && (vars.GH_CI_WINDOWS_RUNNER || 'windows-2022') || matrix.platform == 'macos' && (vars.GH_CI_MACOS_RUNNER || 'macos-26-intel') || (vars.GH_CI_RUNNER || 'ubuntu-latest') }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.wheel) }}
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: dpctl ${{ matrix.name }} Wheels Python ${{ matrix.python }}
path: ${{ runner.temp }}/artifacts
- uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: ${{ env.MINIFORGE_VERSION }}
activate-environment: ""
conda-remove-defaults: "true"
- name: Install the wheel and run ci/test.py
env:
PYTHON_VERSION: ${{ matrix.python }}
EVENT: ${{ startsWith(github.ref, 'refs/tags/') && 'tag' || github.event_name == 'pull_request' && 'pr' || 'push' }}
COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}
run: >-
python ci/hooks.py --kind wheel --python "$PYTHON_VERSION" --artifacts "$RUNNER_TEMP/artifacts"
--work "$RUNNER_TEMP/hooks" --event "$EVENT" --commit "$COMMIT"
# The examples build against the newest regular and free-threaded packages; they wait for the builds, not the tests.
examples-linux:
name: Test examples ${{ matrix.name }} Python ${{ matrix.python }}
needs: [matrix, build, build-wheel]
runs-on: ${{ vars.GH_CI_RUNNER || 'ubuntu-latest' }}
timeout-minutes: 60
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.examples-linux) }}
defaults:
run:
shell: bash -el {0}
env:
DPCPP_CMPLR: "dpcpp_linux-64>=2026.0"
# keep in sync with conda-recipe/conda_build_config.yaml
GCC_CMPLR_VERSION: '15'
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: dpctl ${{ matrix.name }} Python ${{ matrix.python }}
path: ${{ runner.temp }}/channel/linux-64
- uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: ${{ env.MINIFORGE_VERSION }}
activate-environment: ""
conda-remove-defaults: "true"
- name: Index the package and name its exact build
env:
PYTHON_VER: ${{ matrix.python }}
run: |
conda env update -q -n base --file environments/conda_index.yml
conda index "$RUNNER_TEMP/channel"
python ci/package_spec.py "$RUNNER_TEMP/channel" "$PYTHON_VER" >> "$GITHUB_ENV"
- name: Create the examples and compiler environments
# The exact build keeps conda-forge's dpctl out; tbb-devel carries TBBConfig.cmake, which the
# oneMKL example looks for, and intel-opencl-rt provides the OpenCL CPU device to run them on
run: |
conda create -y -p "$RUNNER_TEMP/examples" "$DPCTL_SPEC" "$PYTHON_SPEC" pytest \
"setuptools<72.2.0" cmake ninja pybind11 cython scikit-build \
mkl-dpcpp mkl-devel-dpcpp tbb-devel intel-opencl-rt \
-c "$RUNNER_TEMP/channel" -c conda-forge --override-channels
conda create -y -p "$RUNNER_TEMP/build_env" \
"gcc_linux-64=$GCC_CMPLR_VERSION" "gxx_linux-64=$GCC_CMPLR_VERSION" \
"$DPCPP_CMPLR" "sysroot_linux-64>=2.28" -c conda-forge --override-channels
conda list -p "$RUNNER_TEMP/examples"
conda list -p "$RUNNER_TEMP/build_env"
- name: Build and run examples of pybind11 extensions
working-directory: examples/pybind11
run: |
conda activate "$RUNNER_TEMP/examples"
while IFS= read -r d; do
pushd "$d" > /dev/null
conda activate --stack "$RUNNER_TEMP/build_env"
CC=icx CXX=icpx python setup.py build_ext --inplace -G Ninja
conda deactivate
if [ -e tests ]; then
LD_LIBRARY_PATH="${CONDA_PREFIX}/lib" python -m pytest tests
else
LD_LIBRARY_PATH="${CONDA_PREFIX}/lib" python example.py
fi
popd > /dev/null
done < <(find . -maxdepth 1 -type d -not -path ".")
- name: Build and run examples of Cython extensions
working-directory: examples/cython
run: |
conda activate "$RUNNER_TEMP/examples"
while IFS= read -r d; do
pushd "$d" > /dev/null
conda activate --stack "$RUNNER_TEMP/build_env"
CC=icx CXX=icpx python setup.py build_ext --inplace -G Ninja
conda deactivate
python -m pytest tests
popd > /dev/null
done < <(find . -maxdepth 1 -type d -not -path ".")
- name: Build and run examples of C-extensions
working-directory: examples/c
run: |
conda activate "$RUNNER_TEMP/examples"
while IFS= read -r d; do
pushd "$d" > /dev/null
conda activate --stack "$RUNNER_TEMP/build_env"
python setup.py build_ext --inplace
conda deactivate
python -m pytest tests
popd > /dev/null
done < <(find . -maxdepth 1 -type d -not -path ".")
- name: Run Python examples
working-directory: examples/python
run: |
conda activate "$RUNNER_TEMP/examples"
while IFS= read -r script; do
echo "Executing ${script}"
python "${script}" --run all
done < <(find . \( -not -name "_*" -and -name "*.py" \))
examples-windows:
name: Test examples ${{ matrix.name }} Python ${{ matrix.python }}
needs: [matrix, build, build-wheel]
runs-on: ${{ vars.GH_CI_WINDOWS_RUNNER || 'windows-2022' }}
timeout-minutes: 120
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.matrix.outputs.examples-windows) }}
defaults:
run:
shell: cmd /C CALL {0}
env:
DPCPP_CMPLR: "dpcpp_win-64>=2026.0"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: dpctl ${{ matrix.name }} Python ${{ matrix.python }}
path: ${{ runner.temp }}/channel/win-64
- uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0
with:
miniforge-version: ${{ env.MINIFORGE_VERSION }}
activate-environment: ""
conda-remove-defaults: "true"
- name: Index the package and name its exact build
shell: bash -el {0}
env:
PYTHON_VER: ${{ matrix.python }}
run: |
conda env update -q -n base --file environments/conda_index.yml
conda index "$RUNNER_TEMP/channel"
python ci/package_spec.py "$RUNNER_TEMP/channel" "$PYTHON_VER" >> "$GITHUB_ENV"
- name: Create the examples and compiler environments
# The exact build keeps conda-forge's dpctl out; intel-opencl-rt provides the OpenCL CPU device
# to run the examples on, and the compiler's environment is stacked on it while extensions build
run: |
@echo on
call conda create -y -p "%RUNNER_TEMP%\examples" "%DPCTL_SPEC%" "%PYTHON_SPEC%" pytest ^
"setuptools<72.2.0" cmake ninja pybind11 cython scikit-build ^
mkl-dpcpp mkl-devel-dpcpp tbb-devel intel-opencl-rt ^
-c "%RUNNER_TEMP%\channel" -c conda-forge --override-channels || exit /b 1
call conda create -y -p "%RUNNER_TEMP%\build_env" "%DPCPP_CMPLR%" vs2022_win-64 ^
-c conda-forge --override-channels || exit /b 1
call conda list -p "%RUNNER_TEMP%\examples" || exit /b 1
call conda list -p "%RUNNER_TEMP%\build_env" || exit /b 1
- name: Register the OpenCL CPU driver with the ICD loader
shell: pwsh
run: |
$vendors = "HKLM:\SOFTWARE\Khronos\OpenCL\Vendors"
$prefix = Join-Path $env:RUNNER_TEMP examples
$drivers = @(Get-ChildItem -Recurse -ErrorAction SilentlyContinue -Filter intelocl64.dll -Path "$prefix\Library\bin")
if ($drivers.Count -eq 0) { throw "intel-opencl-rt installed no OpenCL CPU driver under $prefix" }
if (-not (Test-Path $vendors)) { New-Item -Path $vendors -Force | Out-Null }
foreach ($driver in $drivers) {
New-ItemProperty -Path $vendors -Name $driver.FullName -Value 0 -PropertyType DWord -Force | Out-Null
}
Get-ItemProperty -Path $vendors
- name: Smoke test
# Not from the checkout root, where the dpctl sources would shadow the package
working-directory: examples
run: |
@echo on
call conda activate "%RUNNER_TEMP%\examples" || exit /b 1
python -m dpctl -f || exit /b 1
- name: Build and run examples of pybind11 extensions
working-directory: examples/pybind11
env:
CC: icx
CXX: icx
run: |
@echo on
call conda activate "%RUNNER_TEMP%\examples" || exit /b 1
for /d %%d in (*) do (
pushd %%d || exit /b 1
REM endlocal drops the compiler's PATH, which conda deactivate leaves behind
setlocal
call conda activate --stack "%RUNNER_TEMP%\build_env" || exit /b 1
python setup.py build_ext --inplace -G Ninja || exit /b 1
endlocal
if exist tests (
python -m pytest -v tests || exit /b 1
) else (
python example.py || exit /b 1
)
popd
)
- name: Build and run examples of Cython extensions
working-directory: examples/cython
env:
CC: icx
CXX: icx
run: |
@echo on
call conda activate "%RUNNER_TEMP%\examples" || exit /b 1
for /d %%d in (*) do (
pushd %%d || exit /b 1
REM endlocal drops the compiler's PATH, which conda deactivate leaves behind
setlocal
call conda activate --stack "%RUNNER_TEMP%\build_env" || exit /b 1
python setup.py build_ext --inplace -G Ninja || exit /b 1
endlocal
python -m pytest -v tests || exit /b 1
popd
)
- name: Build and run examples of C-extensions
working-directory: examples/c
run: |
@echo on
call conda activate "%RUNNER_TEMP%\examples" || exit /b 1
for /d %%d in (*) do (
pushd %%d || exit /b 1
python setup.py build_ext --inplace || exit /b 1
python -m pytest -v tests || exit /b 1
popd
)
- name: Run Python examples
working-directory: examples/python
run: |
@echo on
call conda activate "%RUNNER_TEMP%\examples" || exit /b 1
for /f "delims=" %%f in ('dir /b *.py ^| findstr /v "^_"') do (
echo Executing %%f
python %%f --run all || exit /b 1
)
# The dev channel on anaconda.org, which docs and the nightly run-tests-from-dppy-bits.yaml read.
upload:
name: Upload to anaconda.org
needs: [test, test-wheel]
if: |
github.repository == 'IntelPython/dpctl' &&
github.event_name == 'push' &&
(github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
runs-on: ${{ vars.GH_CI_RUNNER || 'ubuntu-latest' }}
timeout-minutes: 20
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
pattern: dpctl *
merge-multiple: true
path: ${{ runner.temp }}/packages
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.14"
- name: Install anaconda-client
run: python -m pip install --no-input -r environments/anaconda_client.txt
- name: Upload the conda packages and the wheels
env:
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
PACKAGES: ${{ runner.temp }}/packages
run: |
cd "$PACKAGES"
shopt -s nullglob
conda_packages=(dpctl-*.conda)
wheels=(dpctl-*.whl)
if (( ${#conda_packages[@]} == 0 || ${#wheels[@]} == 0 )); then
echo "::error::no dpctl conda package or wheel to upload"
exit 1
fi
anaconda --token "$ANACONDA_TOKEN" upload --user dppy --label dev "${conda_packages[@]}"
for wheel in "${wheels[@]}"; do
# The version is the file name's second field (PEP 427)
version=${wheel#dpctl-}
version=${version%%-*}
anaconda --token "$ANACONDA_TOKEN" upload --user dppy --label dev "$wheel" --version "$version"
done
cleanup:
name: Clean up anaconda.org
needs: upload
if: |
github.repository == 'IntelPython/dpctl' &&
github.event_name == 'push' &&
(github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/'))
runs-on: ${{ vars.GH_CI_RUNNER || 'ubuntu-latest' }}
timeout-minutes: 30
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
repository: IntelPython/devops-tools
ref: 08ffddf88627957e8b094817aac4ce0bde7cff63 # main
fetch-depth: 0
path: devops-tools
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
with:
python-version: "3.11"
- name: Install anaconda-client
run: python -m pip install --no-input -r environments/anaconda_client.txt
- name: Remove the old dev packages
working-directory: devops-tools
env:
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
run: python scripts/cleanup-old-packages.py --verbose --force --token "$ANACONDA_TOKEN" --package dppy/dpctl --label dev