Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ env:
jobs:
build:
runs-on: ubuntu-20.04

strategy:
matrix:
python: [3.8, 3.9]

steps:
- name: Install Intel repository
run: |
Expand Down Expand Up @@ -41,7 +46,7 @@ jobs:
. /opt/intel/oneapi/setvars.sh
. ./scripts/install_cmake_lin.sh
CHANNELS="-c dppy/label/dev -c intel -c defaults --override-channels"
VERSIONS="--python 3.8"
VERSIONS="--python ${{ matrix.python }}"
TEST="--no-test"
conda build \
$TEST \
Expand All @@ -52,18 +57,23 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: dpnp ${{ runner.os }}
name: dpnp ${{ runner.os }} ${{ matrix.python }}
path: /usr/share/miniconda/conda-bld/linux-64/dpnp-*.tar.bz2

upload:
needs: build
if: ${{ github.ref == 'refs/heads/master' }}
runs-on: ubuntu-latest

strategy:
matrix:
python: [3.8, 3.9]

steps:
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: dpnp ${{ runner.os }}
name: dpnp ${{ runner.os }} ${{ matrix.python }}

- name: Install anaconda-client
run: conda install anaconda-client
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ requirements:
host:
- python
- setuptools
- numpy >=1.15 # [win or osx or py==38]
- numpy >=1.15 # [win or osx or py>=38]
- numpy 1.17 # [linux and py==37]
- cython
- cmake >=3.16.5
Expand Down