Skip to content

Reorder channels in conda-build #1182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 10, 2022
Merged
Show file tree
Hide file tree
Changes from all 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
9 changes: 5 additions & 4 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ on:
env:
PACKAGE_NAME: dpnp
MODULE_NAME: dpnp
VER_SCRIPT1: "import json; f = open('ver.json', 'r'); j = json.load(f); f.close(); "
VER_SCRIPT2: "d = j['dpnp'][0]; print('='.join((d[s] for s in ('version', 'build'))))"
CHANNELS: '-c dppy/label/dev -c intel -c defaults --override-channels'

jobs:
build_linux:
Expand Down Expand Up @@ -66,7 +65,9 @@ jobs:
run: conda install conda-build

- name: Build conda package
run: ./scripts/build_conda_package.sh ${{ matrix.python }} $GITHUB_WORKSPACE/oneDPL
run: conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe
env:
DPLROOT: '${{ github.workspace }}/oneDPL'

- name: Upload artifact
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -127,7 +128,7 @@ jobs:
run: conda install conda-build

- name: Build conda package
run: conda build --no-test --python ${{ matrix.python }} -c dppy/label/dev -c intel -c defaults --override-channels conda-recipe
run: conda build --no-test --python ${{ matrix.python }} ${{ env.CHANNELS }} conda-recipe
env:
DPLROOT: '%GITHUB_WORKSPACE%\oneDPL'

Expand Down
16 changes: 0 additions & 16 deletions scripts/build_conda_package.sh

This file was deleted.