Skip to content

Cross-OS Conda Build #303

Cross-OS Conda Build

Cross-OS Conda Build #303

# This workflow will build the latest source files in Anaconda.
name: Cross-OS Conda Build
on:
schedule:
- cron: "0 0 * * 2,5"
workflow_dispatch:
jobs:
conda-build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
- name: Conda build
run: |
conda update conda
conda install conda-build
conda build --channel conda-forge --channel pytorch --override-channels --output-folder ./conda-out/ ./conda-recipe/