diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8f802201..4cc9bf16 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -55,6 +55,7 @@ jobs: conda config --set always_yes yes --set auto_update_conda false --set channel_priority disabled conda update conda conda install mamba -n base -c conda-forge + conda install -n base conda-libmamba-solver mamba install python=3.10 "conda-build=3.21.9" colorama pip ruamel ruamel.yaml rich mamba jsonschema -c conda-forge pip install -e . @@ -66,7 +67,7 @@ jobs: id: mambabuild run: | mamba install anaconda-client - conda config --set anaconda_upload no --set channel_priority disabled + conda config --set anaconda_upload no --set channel_priority disabled --set solver libmamba echo yes | anaconda login --username ${{ secrets.ANACONDA_CLOUD_USERNAME }} --password ${{ secrets.ANACONDA_CLOUD_PASSWORD }} git fetch --prune --unshallow --tags VERSION_FROM_GIT_TAG=$(git tag --list "v*[0-9]" --sort=version:refname | tail -1 | cut -c 2-) conda build . -c mosek -c anaconda -c pvlib -c slacgismo -c conda-forge --numpy 1.22.0 diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index 497540b6..d3f1d97a 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -52,6 +52,7 @@ jobs: conda config --set always_yes yes --set auto_update_conda false --set channel_priority disabled conda update conda conda install mamba -n base -c conda-forge + conda install -n base conda-libmamba-solver mamba install python=3.10 "conda-build=3.21.9" colorama pip ruamel ruamel.yaml rich mamba jsonschema -c conda-forge pip install -e . @@ -63,7 +64,7 @@ jobs: id: mambabuild run: | mamba install anaconda-client - conda config --set anaconda_upload no --set channel_priority disabled + conda config --set anaconda_upload no --set channel_priority disabled --set solver libmamba git fetch --prune --unshallow --tags VERSION_FROM_GIT_TAG=$(git tag --list "v*[0-9]" --sort=version:refname | tail -1 | cut -c 2-)test conda build . -c mosek -c anaconda -c pvlib -c slacgismo -c conda-forge --numpy 1.22.0 echo '::set-output name=gitversion::$(git tag --list "v*[0-9]" --sort=version:refname | tail -1 | cut -c 2-)'