Skip to content
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
11 changes: 5 additions & 6 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,16 @@ jobs:
- name: Set up Python
uses: conda-incubator/[email protected]
with:
miniforge-variant: Mambaforge
use-mamba: true
miniforge-variant: Miniforge3
python-version: "3.8"
channel-priority: strict
- name: Install dependencies
run: |
mamba install -c conda-forge boa conda-verify
conda install -c conda-forge conda-build conda-verify

which python
pip list
mamba list
conda list
# Clean the conda cache
- name: Clean Conda Cache
run: conda clean --all --yes
Expand All @@ -89,7 +88,7 @@ jobs:
# suffix for nightly package versions
export VERSION_SUFFIX=a`date +%y%m%d`

conda mambabuild conda/recipes \
conda build conda/recipes \
--python ${{ matrix.python }} \
--variants "{target_platform: [${{ matrix.arch }}]}" \
--error-overlinking \
Expand All @@ -99,7 +98,7 @@ jobs:
- name: Test conda packages
if: matrix.arch == 'linux-64' # can only test native platform packages
run: |
conda mambabuild --test packages/${{ matrix.arch }}/*.tar.bz2
conda build --test packages/${{ matrix.arch }}/*.tar.bz2
- name: Upload conda packages as artifacts
uses: actions/upload-artifact@v4
with:
Expand Down
Loading