Reimplementation of Recollect #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mamba Build test | |
on: | |
pull_request: | |
jobs: | |
mamba_build: | |
name: ${{ matrix.os }} -> mamba build | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up MSVC (Windows only) | |
if: matrix.os == 'windows-latest' | |
uses: ilammy/msvc-dev-cmd@v1 | |
- name: Delete Incorrect Link from Path | |
if: matrix.os == 'windows-latest' | |
run: rm /usr/bin/link.exe | |
- name: Install micromamba | |
uses: mamba-org/setup-micromamba@v1 | |
env: | |
ACTIONS_STEP_DEBUG: true | |
with: | |
init-shell: >- | |
bash | |
create-args: >- | |
python=3.11 | |
conda | |
environment-name: molli | |
- name: Install conda build and upload dependencies | |
run: | | |
conda install boa; | |
conda install conda-verify; | |
- name: Build package | |
env: | |
ACTIONS_STEP_DEBUG: true | |
run: | | |
mkdir conda-dist; | |
conda mambabuild conda-recipe --output-folder conda-dist --python 3.10 --no-anaconda-upload; |