Skip to content

Commit

Permalink
Test specific instructions
Browse files Browse the repository at this point in the history
It worked in the last commit, let's see if we can simplify it.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
  • Loading branch information
psavery committed Oct 11, 2023
1 parent e576070 commit 48ad592
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,14 @@ jobs:
if: ${{ matrix.config.name != 'Linux' }}
run: |
conda activate hexrd
conda install -n base -c conda-forge conda-libmamba-solver
# FIXME: why do we have to set this again? It was set in the previous step!
conda install -c conda-forge conda-libmamba-solver
conda config --set solver libmamba
conda config --env --set solver libmamba
mkdir output
# Conda build is ignoring the .condarc for some reason, so we need to
# set this environment variable instead.
export CONDA_SOLVER=libmamba
CONDA_SOLVER=libmamba conda build --override-channels -c conda-forge --output-folder output/ conda.recipe/
conda build --override-channels -c conda-forge --output-folder output/ conda.recipe/
# This is need to ensure ~/.profile or ~/.bashrc are used so the activate
# command works.
shell: bash -l {0}
Expand Down

0 comments on commit 48ad592

Please sign in to comment.