@@ -55,15 +55,13 @@ jobs:
55
55
fetch-depth : 0
56
56
57
57
- name : Setup miniconda
58
- uses : conda-incubator/setup-miniconda@v2
58
+ uses : conda-incubator/setup-miniconda@v3
59
59
with :
60
- python-version : ${{ matrix.python }}
61
- miniforge-variant : Mambaforge
62
- miniforge-version : latest
63
- activate-environment : " build"
60
+ auto-activate-base : true
61
+ activate-environment : " "
64
62
channels : ${{ env.CHANNELS }}
65
63
channel-priority : " disabled"
66
- run-post : false
64
+ miniforge-version : latest
67
65
68
66
- name : Disable defautls
69
67
run : conda config --remove channels defaults
@@ -74,18 +72,21 @@ jobs:
74
72
echo "CONDA_BLD=$CONDA_PREFIX/conda-bld/${{ runner.os == 'Linux' && 'linux' || 'win' }}-64/" | tr "\\" '/' >> $GITHUB_ENV
75
73
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\' }}" >> $GITHUB_ENV
76
74
77
- # boa is an extention to conda so we can use mamba resolver in conda build
78
75
- name : Install conda-build
79
- run : mamba install boa
76
+ run : conda install conda-build
80
77
81
78
- name : Configure MSBuild
82
79
if : runner.os == 'Windows'
83
80
84
81
with :
85
82
vs-version : ' 14.35'
86
83
84
+ - name : Show conda-rc
85
+ shell : bash -el {0}
86
+ run : cat ~/.condarc
87
+
87
88
- name : Build conda package
88
- run : conda mambabuild --no-test --python ${{ matrix.python }} conda-recipe
89
+ run : conda build --python ${{ matrix.python }} conda-recipe
89
90
90
91
- name : Upload artifact
91
92
@@ -122,15 +123,14 @@ jobs:
122
123
123
124
steps :
124
125
- name : Setup miniconda
125
- uses : conda-incubator/setup-miniconda@v2
126
+ uses : conda-incubator/setup-miniconda@v3
126
127
with :
127
128
python-version : ${{ matrix.python }}
128
- miniforge-variant : Mambaforge
129
- miniforge-version : latest
130
- activate-environment : " build"
129
+ activate-environment : " "
130
+ auto-activate-base : true
131
131
channels : ${{ env.CHANNELS }}
132
132
channel-priority : " disabled"
133
- run-post : false
133
+ miniforge-version : latest
134
134
135
135
- name : Disable defautls
136
136
run : conda config --remove channels defaults
@@ -159,7 +159,7 @@ jobs:
159
159
160
160
# Needed to be able to run conda index
161
161
- name : Install conda-build
162
- run : mamba install conda-build conda-index
162
+ run : conda install conda-build conda-index
163
163
164
164
- name : Create conda channel
165
165
run : python -m conda_index ${{ env.CHANNEL_PATH }}
@@ -170,7 +170,7 @@ jobs:
170
170
cat ${{ env.VER_JSON_PATH }}
171
171
172
172
- name : Install dpbench
173
- run : mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest intel::intel-opencl-rt python=${{ matrix.python }} -c ${{ env.CHANNEL_PATH }}
173
+ run : conda install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} pytest intel::intel-opencl-rt python=${{ matrix.python }} -c ${{ env.CHANNEL_PATH }}
174
174
175
175
- name : Setup OpenCL CPU device
176
176
if : runner.os == 'Windows'
0 commit comments