-
Notifications
You must be signed in to change notification settings - Fork 9
33 lines (31 loc) · 1.26 KB
/
setupconda.yaml
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
name: setupconda
on:
workflow_dispatch:
schedule:
- cron: "46 1/13 * * *"
env:
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
jobs:
build:
defaults:
run:
shell: bash -l {0}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true
python-version: 3.9
channels: fastai,fastchan,defaults
- name: Install dependencies
run: |
conda install -yq -c conda-forge mamba
mamba install -yq -c fastai setuptools-conda
mamba install -yq anaconda-client conda-build fastrelease
- name: Build and Publish
run: |
./setupconda.sh accelerate '--conda-name-differences torch:pytorch -c pytorch --noarch .'
#./setupconda.sh timm '--conda-name-differences torch:pytorch -c pytorch --noarch .'
#./setupconda.sh albumentations '--conda-name-differences opencv-python:opencv-python-headless,opencv-contrib-python:opencv-python-headless,opencv:opencv-python-headless --noarch .'
#./setupconda.sh imgaug '--conda-name-differences opencv-python:opencv-python-headless,opencv-contrib-python:opencv-python-headless,opencv:opencv-python-headless --noarch .'