Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try to not install libarchive separately #734

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading