9999 brew reinstall gcc
100100 brew install coreutils
101101 brew install llvm
102- ls /usr/local/opt /llvm/bin
102+ ls /usr/local/Cellar /llvm
103103 echo "/usr/local/opt/llvm/bin" >>$GITHUB_PATH
104104 echo "CC=/usr/local/opt/llvm/bin/clang" >> $GITHUB_ENV;
105+ echo "RANLIB=/usr/bin/ranlib" >> $GITHUB_ENV;
106+
105107
106108 - name : Print some Environment variable
107109 run : |
@@ -164,9 +166,19 @@ jobs:
164166 name : openblas-${{ matrix.os }}-${{ matrix.PLAT }}-${{ matrix.INTERFACE64 }}-${{ matrix.MB_ML_LIBC }}-${{ matrix.MB_ML_VER }}
165167 path : libs/openblas*.tar.gz
166168
167- - uses : conda-incubator/setup-miniconda@v3.2.0
169+ - name : install micromamba
170+ uses : mamba-org/setup-micromamba@b09ef9b599704322748535812ca03efb2625677b
168171 with :
169- conda-remove-defaults : true
172+ # for installation of anaconda-client, required for upload to
173+ # anaconda.org
174+ # Note that this step is *after* specific pythons have been used to
175+ # build and test the wheel
176+ # for installation of anaconda-client, for upload to anaconda.org
177+ # environment will be activated after creation, and in future bash steps
178+ init-shell : bash
179+ environment-name : upload-env
180+ create-args : >-
181+ anaconda-client
170182
171183 - name : Upload
172184 # see https://github.com/marketplace/actions/setup-miniconda for why
@@ -175,6 +187,5 @@ jobs:
175187 env :
176188 ANACONDA_SCIENTIFIC_PYTHON_UPLOAD : ${{ secrets.ANACONDA_SCIENTIFIC_PYTHON_UPLOAD }}
177189 run : |
178- conda install -y -c conda-forge anaconda-client
179190 source tools/upload_to_anaconda_staging.sh
180191 upload_wheels
0 commit comments