Skip to content

Commit cb96e20

Browse files
author
Diptorup Deb
committed
Fix Github Windows CI.
1 parent 13132f0 commit cb96e20

File tree

1 file changed

+17
-30
lines changed

1 file changed

+17
-30
lines changed

.github/workflows/conda-package.yml

Lines changed: 17 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
python: ["3.8", "3.9"]
23+
python: ["3.8", "3.9", "3.10"]
2424

2525
steps:
2626
- uses: actions/checkout@v3
@@ -46,18 +46,12 @@ jobs:
4646

4747
strategy:
4848
matrix:
49-
python: ["3.8", "3.9"]
50-
integration_channels: [""]
49+
python: ["3.8", "3.9", "3.10"]
5150
experimental: [false]
5251
artifact_name: [""]
53-
include:
54-
- python: "3.8"
55-
integration_channels: -c dppy/label/dev
56-
artifact_name: -c dppy_label_dev
57-
experimental: true
5852
continue-on-error: ${{ matrix.experimental }}
5953
env:
60-
CHANNELS: ${{ matrix.integration_channels }} -c intel -c defaults -c numba -c numba/label/dev -c dppy/label/dev --override-channels
54+
CHANNELS: -c dppy/label/dev -c intel -c defaults -c numba -c numba/label/dev --override-channels
6155
conda-bld: C:\Miniconda\conda-bld\win-64\
6256

6357
steps:
@@ -96,7 +90,7 @@ jobs:
9690

9791
strategy:
9892
matrix:
99-
python: ["3.8", "3.9"]
93+
python: ["3.8", "3.9", "3.10"]
10094
numba: ["0.56"]
10195
dpnp: ["0.11"]
10296

@@ -164,21 +158,13 @@ jobs:
164158

165159
strategy:
166160
matrix:
167-
python: ["3.8", "3.9"]
161+
python: ["3.8", "3.9", "3.10"]
168162
integration_channels: [""]
169-
experimental: [true] # packages are not available on -c intel yet
170-
artifact_name: [""]
171-
dependencies: [""]
172-
include:
173-
- python: "3.8"
174-
integration_channels: -c dppy/label/dev
175-
artifact_name: -c dppy_label_dev
176-
experimental: true # current stable
177-
dependencies: ""
163+
experimental: [false] # packages are not available on -c intel yet
178164
continue-on-error: ${{ matrix.experimental }}
179165
env:
180166
# conda-forge: llvm-spirv 11 not on intel channel yet
181-
CHANNELS: ${{ matrix.integration_channels }} -c dppy/label/dev -c intel -c defaults -c numba -c numba/label/dev -c conda-forge --override-channels
167+
CHANNELS: -c dppy/label/dev -c intel -c defaults -c numba -c numba/label/dev --override-channels
182168

183169
steps:
184170
- name: Create dir for numba-dpex repo
@@ -189,15 +175,16 @@ jobs:
189175
path: dpex-repo
190176
fetch-depth: 0
191177
- name: Download artifact
192-
uses: actions/download-artifact@v2
178+
uses: actions/download-artifact@v3
193179
with:
194-
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }} ${{ matrix.artifact_name }}
180+
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
195181
- uses: conda-incubator/setup-miniconda@v2
196182
with:
197-
auto-activate-base: true
198-
activate-environment: ""
199-
- name: Install conda-build
200-
run: conda install conda-build
183+
use-only-tar-bz2: true
184+
auto-update-conda: true
185+
conda-build-version: '*'
186+
miniconda-version: 'latest'
187+
activate-environment: "numba_dpex_wintest"
201188
- name: Create conda channel
202189
run: |
203190
mkdir -p $env:GITHUB_WORKSPACE/channel/win-64
@@ -210,7 +197,7 @@ jobs:
210197
- name: Cache conda packages
211198
uses: actions/cache@v2
212199
env:
213-
CACHE_NUMBER: 0 # Increase to reset cache
200+
CACHE_NUMBER: 1 # Increase to reset cache
214201
with:
215202
path: /home/runner/conda_pkgs_dir
216203
key:
@@ -273,7 +260,7 @@ jobs:
273260
runs-on: ubuntu-20.04
274261
strategy:
275262
matrix:
276-
python: ["3.8", "3.9"]
263+
python: ["3.8", "3.9", "3.10"]
277264
steps:
278265
- name: Download artifact
279266
uses: actions/download-artifact@v2
@@ -301,7 +288,7 @@ jobs:
301288
runs-on: windows-latest
302289
strategy:
303290
matrix:
304-
python: ["3.8", "3.9"]
291+
python: ["3.8", "3.9", "3.10"]
305292
steps:
306293
- name: Download artifact
307294
uses: actions/download-artifact@v2

0 commit comments

Comments
 (0)