Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzEeKkAa committed May 1, 2024
1 parent de347df commit efca0c6
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ on:
env:
PACKAGE_NAME: dpbench
MODULE_NAME: dpbench
CHANNELS: 'dppy/label/dev,conda-forge,intel'
VER_JSON_NAME: 'version.json'
VER_SCRIPT1: "import json; f = open('version.json', 'r'); j = json.load(f); f.close(); "
VER_SCRIPT2: "d = j['dpbench'][0]; print('='.join((d[s] for s in ('version', 'build'))))"
Expand Down Expand Up @@ -57,7 +58,9 @@ jobs:
with:
auto-activate-base: true
activate-environment: ""
channels: ${{ env.CHANNELS }}
channel-priority: "disabled"
miniforge-version: latest

- name: Store conda paths as envs
shell: bash -l {0}
Expand All @@ -74,12 +77,9 @@ jobs:
with:
vs-version: '14.35'

- name: Set conda channels
run: |
conda config --append channels dppy/label/dev
conda config --append channels conda-forge
conda config --append channels nodefaults
conda config --remove channels defaults
- name: Show conda-rc
shell: bash -el {0}
run: cat ~/.condarc

- name: Build conda package
run: conda build --python ${{ matrix.python }} conda-recipe
Expand Down Expand Up @@ -124,14 +124,9 @@ jobs:
python-version: ${{ matrix.python }}
activate-environment: ""
auto-activate-base: true
channels: ${{ env.CHANNELS }}
channel-priority: "disabled"

- name: Set conda channels
run: |
conda config --append channels dppy/label/dev
conda config --append channels conda-forge
conda config --append channels nodefaults
conda config --remove channels defaults
miniforge-version: latest

- name: Store conda paths as envs
shell: bash -l {0}
Expand Down

0 comments on commit efca0c6

Please sign in to comment.