Skip to content

Commit

Permalink
trying libmamba solver
Browse files Browse the repository at this point in the history
  • Loading branch information
pluflou committed Aug 8, 2023
1 parent fc68973 commit d8c67a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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-)'

0 comments on commit d8c67a8

Please sign in to comment.