@@ -124,7 +124,7 @@ jobs:
124
124
125
125
strategy :
126
126
matrix :
127
- python : ['3.9', '3.10']
127
+ python : ['3.9', '3.10', '3.11', '3.12' ]
128
128
env :
129
129
conda-bld : C:\Miniconda\conda-bld\win-64\
130
130
steps :
@@ -133,10 +133,14 @@ jobs:
133
133
fetch-depth : 0
134
134
- uses : conda-incubator/setup-miniconda@v3
135
135
with :
136
- auto-activate-base : true
136
+ miniforge-version : latest
137
137
conda-build-version : " *"
138
- activate-environment : true
138
+ activate-environment : build
139
139
python-version : ${{ matrix.python }}
140
+ channels : conda-forge,nodefaults
141
+
142
+ - name : Remove defaults channel
143
+ run : conda config --remove channels defaults
140
144
141
145
- name : Cache conda packages
142
146
uses : actions/cache@v4
@@ -165,7 +169,7 @@ jobs:
165
169
shell : cmd /C CALL {0}
166
170
strategy :
167
171
matrix :
168
- python : ['3.9', '3.10']
172
+ python : ['3.9', '3.10', '3.11', '3.12' ]
169
173
experimental : [false]
170
174
runner : [windows-2019]
171
175
continue-on-error : ${{ matrix.experimental }}
@@ -180,18 +184,27 @@ jobs:
180
184
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
181
185
- uses : conda-incubator/setup-miniconda@v3
182
186
with :
183
- auto-update-conda : true
184
- conda-build-version : ' *'
185
- miniconda-version : ' latest'
186
- activate-environment : mkl_fft_test
187
+ miniforge-version : latest
188
+ activate-environment : build
187
189
python-version : ${{ matrix.python }}
190
+ channels : conda-forge,nodefaults
191
+
192
+ - name : Remove defaults channel
193
+ run : conda config --remove channels defaults
194
+
188
195
- name : Create conda channel with the artifact bit
189
196
shell : cmd /C CALL {0}
190
197
run : |
191
198
echo ${{ env.workdir }}
199
+ mkdir ${{ env.workdir }}\channel\
192
200
mkdir ${{ env.workdir }}\channel\win-64
193
201
move ${{ env.PACKAGE_NAME }}-*.tar.bz2 ${{ env.workdir }}\channel\win-64
194
202
dir ${{ env.workdir }}\channel\win-64
203
+
204
+ - name : Install conda index
205
+ shell : cmd /C CALL {0}
206
+ run : conda install conda-index
207
+
195
208
- name : Index the channel
196
209
shell : cmd /C CALL {0}
197
210
run : conda index ${{ env.workdir }}\channel
0 commit comments