Skip to content

Commit

Permalink
Merge pull request #734 from HEXRD/fix-packaging
Browse files Browse the repository at this point in the history
Try to not install libarchive separately
  • Loading branch information
psavery authored Dec 11, 2024
2 parents 9e6fc2e + aec95fc commit 11719f4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install build requirements
run: |
# Change default solver to be libmamba, so that it runs much faster
conda install -n base -c conda-forge conda-libmamba-solver
conda install -n base --override-channels -c conda-forge conda-libmamba-solver
conda config --set solver libmamba
conda activate hexrd
Expand All @@ -63,14 +63,10 @@ jobs:
# For some reason, we need to set this in the environment as well.
# It seems conda build sometimes needs the solver in the environment
# and sometimes in the base environment. I don't know why.
conda install -c conda-forge conda-libmamba-solver
conda install --override-channels -c conda-forge conda-libmamba-solver
conda config --env --set solver libmamba
conda list
# Mac is having an issue with libarchive. We need to make sure that it
# comes from conda-forge. See here: https://github.com/conda/conda-libmamba-solver/issues/283
conda update -c conda-forge libarchive
mkdir output
# Conda build is ignoring the .condarc for some reason, so we need to
# set this environment variable instead.
Expand Down

0 comments on commit 11719f4

Please sign in to comment.