-
Notifications
You must be signed in to change notification settings - Fork 9
38 lines (36 loc) · 1015 Bytes
/
condabuild.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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 }}