44
44
- name : Add conda to system path
45
45
run : echo $CONDA/bin >> $GITHUB_PATH
46
46
- name : Install conda-build
47
- run : conda install conda-build
47
+ run : conda install conda-build -c conda-forge --override-channels
48
48
- name : Store conda paths as envs
49
49
shell : bash -l {0}
50
50
run : |
@@ -140,9 +140,9 @@ jobs:
140
140
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
141
141
- name : Add conda to system path
142
142
run : echo $CONDA/bin >> $GITHUB_PATH
143
- - name : Install conda-build
143
+ - name : Install conda-index
144
144
# Needed to be able to run conda index
145
- run : conda install conda-build
145
+ run : conda install conda-index -c conda-forge --override-channels
146
146
- name : Create conda channel
147
147
run : |
148
148
mkdir -p $GITHUB_WORKSPACE/channel/linux-64
@@ -352,7 +352,7 @@ jobs:
352
352
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Wheels Python ${{ matrix.python }}
353
353
354
354
- name : Install anaconda-client
355
- run : conda install anaconda-client
355
+ run : conda install anaconda-client -c conda-forge --override-channels
356
356
- name : Add conda to system path
357
357
run : echo $CONDA/bin >> $GITHUB_PATH
358
358
- name : Package version
@@ -393,7 +393,7 @@ jobs:
393
393
activate-environment : " "
394
394
395
395
- name : Install anaconda-client
396
- run : conda install anaconda-client
396
+ run : conda install anaconda-client -c conda-forge --override-channels
397
397
398
398
- name : Package version
399
399
shell : bash -el {0}
@@ -425,9 +425,9 @@ jobs:
425
425
BUILD_ENV_NAME : build_env
426
426
427
427
steps :
428
- - name : Install conda-build
428
+ - name : Install conda-index
429
429
# Needed to be able to run conda index
430
- run : conda install conda-build python=${{ matrix.python }}
430
+ run : conda install conda-index -c conda-forge --override-channels
431
431
- name : Checkout dpctl repo
432
432
433
433
with :
@@ -450,7 +450,9 @@ jobs:
450
450
- name : Collect dependencies
451
451
run : |
452
452
CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
453
- conda install $PACKAGE_NAME python=${{ matrix.python }} $CHANNELS --only-deps --dry-run > lockfile
453
+ export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
454
+ conda create -n ${{ env.EXAMPLES_ENV_NAME }} $PACKAGE_NAME=${PACKAGE_VERSION} python=${{ matrix.python }} $CHANNELS --only-deps --dry-run > lockfile
455
+ cat lockfile
454
456
- name : Set pkgs_dirs
455
457
run : |
456
458
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
@@ -468,7 +470,7 @@ jobs:
468
470
- name : Install example requirements
469
471
shell : bash -l {0}
470
472
env :
471
- DPCPP_CMPLR : dpcpp_linux-64">=2024.0 "
473
+ DPCPP_CMPLR : dpcpp_linux-64">=2024.1 "
472
474
run : |
473
475
CHANNELS="${{ env.CHANNELS }}"
474
476
. $CONDA/etc/profile.d/conda.sh
@@ -601,9 +603,9 @@ jobs:
601
603
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
602
604
- name : Add conda to system path
603
605
run : echo $CONDA/bin >> $GITHUB_PATH
604
- - name : Install conda-build
606
+ - name : Install conda-index
605
607
# Needed to be able to run conda index
606
- run : conda install conda-build
608
+ run : conda install conda-index -c conda-forge --override-channels
607
609
- name : Create conda channel
608
610
run : |
609
611
mkdir -p $GITHUB_WORKSPACE/channel/linux-64
@@ -712,7 +714,7 @@ jobs:
712
714
python-version : ' 3.11'
713
715
714
716
- name : Install anaconda-client
715
- run : conda install anaconda-client
717
+ run : conda install anaconda-client -c conda-forge --override-channels
716
718
717
719
- name : Checkout repo
718
720
0 commit comments