Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
hhaAndroid committed Nov 25, 2021
1 parent 1fa9722 commit 1c7a6d4
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ jobs:
include:
- torch: 1.5.1
torchvision: 0.6.1
mmcv_link: "torch1.5.0"
mmcv: 1.5.0
- torch: 1.6.0
torchvision: 0.7.0
mmcv_link: "torch1.6.0"
mmcv: 1.6.0
- torch: 1.7.0
torchvision: 0.8.1
mmcv_link: "torch1.7.0"
mmcv: 1.7.0
- torch: 1.8.0
torchvision: 0.9.0
mmcv_link: "torch1.8.0"
mmcv: 1.8.0
- torch: 1.9.0
torchvision: 0.10.0
mmcv_link: "torch1.9.0"
mmcv: 1.9.0
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -57,7 +57,7 @@ jobs:
run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html
- name: Install MMCV
run: |
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch${{matrix.mmcv_link}}/index.html
pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cpu/torch${{matrix.mmcv}}/index.html
python -c 'import mmcv; print(mmcv.__version__)'
- name: Install unittest dependencies
run: |
Expand Down Expand Up @@ -91,19 +91,19 @@ jobs:
- torch: 1.5.1+cu101
torch_version: torch1.5.1
torchvision: 0.6.1+cu101
mmcv_link: "torch1.5.0"
mmcv: 1.5.0
- torch: 1.6.0+cu101
torch_version: torch1.6.0
torchvision: 0.7.0+cu101
mmcv_link: "torch1.6.0"
mmcv: 1.6.0
- torch: 1.7.0+cu101
torch_version: torch1.7.0
torchvision: 0.8.1+cu101
mmcv_link: "torch1.7.0"
mmcv: 1.7.0
- torch: 1.8.0+cu101
torch_version: torch1.8.0
torchvision: 0.9.0+cu101
mmcv_link: "torch1.8.0"
mmcv: 1.8.0

steps:
- uses: actions/checkout@v2
Expand All @@ -127,7 +127,7 @@ jobs:
- name: Install mmdet dependencies
run: |
python -V
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/${{matrix.mmcv_link}}/index.html
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu101/torch${{matrix.mmcv}}/index.html
python -m pip install pycocotools
python -m pip install -r requirements/tests.txt -r requirements/optional.txt
python -m pip install albumentations>=0.3.2 --no-binary imgaug,albumentations
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
- torch: 1.9.0+cu102
torch_version: torch1.9.0
torchvision: 0.10.0+cu102
mmcv_link: "torch1.9.0"
mmcv: 1.9.0

steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
- name: Install mmdet dependencies
run: |
python -V
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/${{matrix.mmcv_link}}/index.html
python -m pip install mmcv-full -f https://download.openmmlab.com/mmcv/dist/cu102/torch${{matrix.mmcv}}/index.html
python -m pip install pycocotools
python -m pip install -r requirements/tests.txt -r requirements/optional.txt
python -m pip install albumentations>=0.3.2 --no-binary imgaug,albumentations
Expand Down

0 comments on commit 1c7a6d4

Please sign in to comment.