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 <[email protected]>
  • Loading branch information
psavery committed Oct 11, 2023
1 parent e576070 commit 8e1e6e2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,16 @@ jobs:
- name: Build the package (host)
if: ${{ matrix.config.name != 'Linux' }}
run: |
conda activate hexrd
# FIXME: why do we have to set this again? It was set in the previous step!
conda install -n base -c conda-forge conda-libmamba-solver
conda install -c conda-forge conda-libmamba-solver
conda config --set solver libmamba
conda config --env --set solver libmamba
conda activate hexrd
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 8e1e6e2

Please sign in to comment.