Skip to content

⚗️ Try conda-pack pipeline #10

⚗️ Try conda-pack pipeline

⚗️ Try conda-pack pipeline #10

Workflow file for this run

name: Build conda environments
on: [push]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: wake
auto-update-conda: true
python-version: ${{ matrix.python-version }}
- name: Install dependencies
shell: bash -el {0}
run: |
python -m pip install .
conda install -c conda-forge conda-pack -y
- name: Pack conda environment
shell: bash -el {0}
run: |
conda-pack -n wake -o wake-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}.tar.gz
- name: Upload conda environment
uses: actions/upload-artifact@v2
with:
name: wake-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}
path: wake-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}.tar.gz