Skip to content

Use micromamba in CI #388

Use micromamba in CI

Use micromamba in CI #388

name: conda-build macOS
on:
push:
paths:
- '.github/**'
- 'conda.recipe/**'
jobs:
macos-conda-build:
name: "MacOS - conda-build - Python ${{ matrix.CONDA_BUILD_YML }}"
runs-on: macos-latest
env:
CI: True
CONDA_BUILD_YML: ${{ matrix.CONDA_BUILD_YML }}
strategy:
fail-fast: false
matrix:
CONDA_BUILD_YML:
- osx_64_numpy1.20python3.9.____cpython
- osx_64_numpy1.23python3.11.____cpython
- osx_arm64_numpy1.20python3.8.____cpython
- osx_arm64_numpy1.21python3.10.____cpython
steps:
- name: Checkout branch
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- name: Fetch full git history
run: git fetch --prune --unshallow
- uses: mamba-org/setup-micromamba@5d5dbebd87f7b9358c403c7a66651fa92b310105
with:
environment-name: build
create-args: boa
- name: Build conda package
shell: bash -l {0}
run: ./.github/workflows/macos-conda-build.sh