camenduru's picture
thanks to show ❤
3bbb319
name: build_pat
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_parrots:
runs-on: ubuntu-latest
container:
image: ghcr.io/zhouzaida/parrots-mmcv:1.3.4
credentials:
username: zhouzaida
password: ${{ secrets.CR_PAT }}
steps:
- uses: actions/checkout@v2
- name: Install mmdet dependencies
run: |
git clone https://github.com/open-mmlab/mmcv.git && cd mmcv
MMCV_WITH_OPS=1 python setup.py install
cd .. && rm -rf mmcv
python -c 'import mmcv; print(mmcv.__version__)'
pip install -r requirements.txt
- name: Build and install
run: rm -rf .eggs && pip install -e .