@@ -84,14 +84,20 @@ jobs:
84
84
- uses : actions/checkout@v4.1.7
85
85
with :
86
86
fetch-depth : 0
87
+
87
88
- uses : conda-incubator/setup-miniconda@v3
88
89
with :
89
90
miniforge-version : latest
90
- conda-build-version : " *"
91
- activate-environment : true
91
+ activate-environment : test
92
92
channels : conda-forge
93
93
python-version : ${{ matrix.python }}
94
94
95
+ - name : Install conda build
96
+ run : |
97
+ conda activate
98
+ conda install -y conda-build
99
+ conda list -n base
100
+
95
101
- name : Cache conda packages
96
102
uses : actions/cache@v4
97
103
env :
@@ -103,19 +109,23 @@ jobs:
103
109
restore-keys : |
104
110
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-
105
111
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
112
+
106
113
- name : Store conda paths as envs
107
114
shell : bash -l {0}
108
115
run : |
109
116
echo "WHEELS_OUTPUT_FOLDER=$GITHUB_WORKSPACE${{ runner.os == 'Linux' && '/' || '\\' }}" >> $GITHUB_ENV
117
+
110
118
- name : Build conda package
111
119
env :
112
120
OVERRIDE_INTEL_IPO : 1 # IPO requires more resources that GH actions VM provides
113
121
run : conda build --no-test --python ${{ matrix.python }} --numpy 2 -c conda-forge --override-channels conda-recipe
122
+
114
123
- name : Upload artifact
115
124
uses : actions/upload-artifact@v4.4.0
116
125
with :
117
126
name : ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
118
127
path : ${{ env.conda-bld }}${{ env.PACKAGE_NAME }}-*.tar.bz2
128
+
119
129
- name : Upload wheels artifact
120
130
uses : actions/upload-artifact@v4.4.0
121
131
with :
0 commit comments