Skip to content
Draft

WIP #1937

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
12 changes: 11 additions & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,15 +86,25 @@ jobs:

- name: Build the package using CPack
working-directory: hexrdgui/packaging
# force tar.bz2 files with '--set conda_build.pkg_format 1'
run: |
conda activate hexrdgui-package

# Force conda-forge to be used by conda-build
conda config --remove channels defaults
conda config --add channels conda-forge

# force tar.bz2 files with '--set conda_build.pkg_format 1'
conda config --set conda_build.pkg_format 1
mkdir output

conda config --show channels

# Use libmamba as the solver for all future conda commands
export CONDA_SOLVER=libmamba

# Ensure conda and libmamba are fully up-to-date
conda update -n base conda conda-libmamba-solver

HEXRD_PACKAGE_CHANNEL=${HEXRD_PACKAGE_CHANNEL} HEXRDGUI_OUTPUT_FOLDER=output/ cpack
# This is need to ensure ~/.profile or ~/.bashrc are used so the activate
# command works.
Expand Down
Loading