diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0161ada03..9dbf383e3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,14 +27,17 @@ jobs: strategy: matrix: python-version: [3.7] - torch: [1.3.0, 1.5.0, 1.6.0] + torch: [1.3.1, 1.5.1, 1.7.1] include: - - torch: 1.3.0 - torchvision: 0.4.1 - - torch: 1.5.0 - torchvision: 0.6.0 - - torch: 1.6.0 - torchvision: 0.7.0 + - torch: 1.3.1 + torchvision: 0.4.2 + mmcv: "latest+torch1.3.0+cpu" + - torch: 1.5.1 + torchvision: 0.6.1 + mmcv: "latest+torch1.5.0+cpu" + - torch: 1.7.1 + torchvision: 0.8.2 + mmcv: "latest+torch1.7.0+cpu" steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -48,8 +51,8 @@ jobs: run: pip install torch==${{matrix.torch}}+cpu torchvision==${{matrix.torchvision}}+cpu -f https://download.pytorch.org/whl/torch_stable.html - name: Install mmtrack dependencies run: | - pip install mmcv-full==latest+torch${{matrix.torch}}+cpu -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html --use-deprecated=legacy-resolver - pip install git+https://github.com/open-mmlab/mmdetection.git + pip install mmcv-full==${{matrix.mmcv}} -f https://download.openmmlab.com/mmcv/dist/index.html --use-deprecated=legacy-resolver + pip install mmdet pip install -r requirements.txt - name: Build and install run: rm -rf .eggs && pip install -e . @@ -69,7 +72,7 @@ jobs: strategy: matrix: python-version: [3.7] - torch: [1.3.1, 1.5.1+cu101, 1.6.0+cu101] + torch: [1.3.1, 1.5.1+cu101, 1.7.1+cu101] include: - torch: 1.3.1 torchvision: 0.4.2 @@ -77,15 +80,15 @@ jobs: - torch: 1.5.1+cu101 torchvision: 0.6.1+cu101 mmcv: "latest+torch1.5.0+cu101" - - torch: 1.6.0+cu101 - torchvision: 0.7.0+cu101 + - torch: 1.7.1+cu101 + torchvision: 0.8.2+cu101 mmcv: "latest+torch1.6.0+cu101" - - torch: 1.6.0+cu101 - torchvision: 0.7.0+cu101 + - torch: 1.7.1+cu101 + torchvision: 0.8.2+cu101 mmcv: "latest+torch1.6.0+cu101" python-version: 3.6 - - torch: 1.6.0+cu101 - torchvision: 0.7.0+cu101 + - torch: 1.7.1+cu101 + torchvision: 0.8.2+cu101 mmcv: "latest+torch1.6.0+cu101" python-version: 3.8 @@ -115,8 +118,8 @@ jobs: run: pip install torch==${{matrix.torch}} torchvision==${{matrix.torchvision}} -f https://download.pytorch.org/whl/torch_stable.html - name: Install mmtrack dependencies run: | - pip install mmcv-full==${{matrix.mmcv}} -f https://openmmlab.oss-accelerate.aliyuncs.com/mmcv/dist/index.html --use-deprecated=legacy-resolver - pip install git+https://github.com/open-mmlab/mmdetection.git + pip install mmcv-full==${{matrix.mmcv}} -f https://download.openmmlab.com/mmcv/dist/index.html --use-deprecated=legacy-resolver + pip install mmdet pip install -r requirements.txt - name: Build and install run: |