condabuild #4759
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: condabuild | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "46 4/16 * * *" | |
env: | |
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }} | |
FASTCHAN: ${{ secrets.ANACONDA_TOKEN }} | |
jobs: | |
build: | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
py: [3.9, "3.10", 3.11] | |
os: [ubuntu] | |
nm: [opencv-python-headless, sentencepiece] | |
runs-on: ${{ matrix.os }}-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
python-version: ${{ matrix.py }} | |
channels: fastai,defaults,conda-forge | |
miniforge-version: latest | |
#auto-update-conda: false | |
miniforge-variant: Mambaforge | |
- name: install deps | |
run: | | |
#conda install -yq libiconv | |
#conda install -yq mamba | |
mamba install -yq boa anaconda-client conda-build ghapi nbdev | |
- name: build | |
run: python build.py --pypinm ${{ matrix.nm }} |