@@ -19,7 +19,7 @@ concurrency:
1919
2020jobs :
2121 build_cpu_py :
22- runs-on : ubuntu-18 .04
22+ runs-on : ubuntu-22 .04
2323 strategy :
2424 matrix :
2525 python-version : [3.8, 3.9]
2828 - torch : 1.8.1
2929 torchvision : 0.9.1
3030 steps :
31- - uses : actions/checkout@v2
31+ - uses : actions/checkout@v3
3232 - name : Set up Python ${{ matrix.python-version }}
33- uses : actions/setup-python@v2
33+ uses : actions/setup-python@v4
3434 with :
3535 python-version : ${{ matrix.python-version }}
3636 - name : Upgrade pip
4545 pip install -U openmim
4646 pip install git+https://github.com/open-mmlab/mmengine.git
4747 mim install 'mmcv>=2.0.0rc4'
48- pip install git+https://github.com/open-mmlab/[email protected] 49- pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
48+ pip install mmcls==1.0.0rc6
49+ pip install git+https://github.com/open-mmlab/mmdetection.git@main
5050 - name : Install unittest dependencies
5151 run : pip install -r requirements/tests.txt -r requirements/optional.txt
5252 - name : Build and install
5858 coverage xml
5959 coverage report -m
6060 build_cpu_pt :
61- runs-on : ubuntu-18 .04
61+ runs-on : ubuntu-22 .04
6262 strategy :
6363 matrix :
6464 python-version : [3.7]
8282 # - torch: 1.13.0
8383 # torchvision: 0.14.0
8484 steps :
85- - uses : actions/checkout@v2
85+ - uses : actions/checkout@v3
8686 - name : Set up Python ${{ matrix.python-version }}
87- uses : actions/setup-python@v2
87+ uses : actions/setup-python@v4
8888 with :
8989 python-version : ${{ matrix.python-version }}
9090 - name : Upgrade pip
@@ -101,8 +101,8 @@ jobs:
101101 pip install -U openmim
102102 pip install git+https://github.com/open-mmlab/mmengine.git
103103 mim install 'mmcv>=2.0.0rc4'
104- pip install git+https://github.com/open-mmlab/[email protected] 105- pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
104+ pip install mmcls==1.0.0rc6
105+ pip install git+https://github.com/open-mmlab/mmdetection.git@main
106106 - name : Install unittest dependencies
107107 run : pip install -r requirements/tests.txt -r requirements/optional.txt
108108 - name : Build and install
@@ -131,93 +131,6 @@ jobs:
131131 env_vars : OS,PYTHON
132132 name : codecov-umbrella
133133 fail_ci_if_error : false
134-
135- build_cu102 :
136- runs-on : ubuntu-18.04
137- container :
138- image : pytorch/pytorch:1.8.1-cuda10.2-cudnn7-devel
139- strategy :
140- matrix :
141- python-version : [3.7]
142- include :
143- - torch : 1.8.1
144- cuda : 10.2
145- steps :
146- - uses : actions/checkout@v2
147- - name : Set up Python ${{ matrix.python-version }}
148- uses : actions/setup-python@v2
149- with :
150- python-version : ${{ matrix.python-version }}
151- - name : Upgrade pip
152- run : |
153- pip install pip --upgrade
154- pip install wheel
155- - name : Fetch GPG keys
156- run : |
157- apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
158- apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
159- - name : Install Python-dev
160- run : apt-get update && apt-get install -y python${{matrix.python-version}}-dev
161- - name : Install system dependencies
162- run : |
163- apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6
164- - name : Install mmseg dependencies
165- run : |
166- python -V
167- pip install -U openmim
168- pip install git+https://github.com/open-mmlab/mmengine.git
169- mim install 'mmcv>=2.0.0rc4'
170- pip install git+https://github.com/open-mmlab/[email protected] 171- pip install git+https://github.com/open-mmlab/[email protected] 172- - name : Install unittest dependencies
173- run : pip install -r requirements/tests.txt -r requirements/optional.txt
174- - name : Build and install
175- run : |
176- python setup.py check -m -s
177- TORCH_CUDA_ARCH_LIST=7.0 pip install -e .
178- build_cu116 :
179- runs-on : ubuntu-18.04
180- container :
181- image : pytorch/pytorch:1.13.0-cuda11.6-cudnn8-devel
182- strategy :
183- matrix :
184- python-version : [3.7]
185- include :
186- - torch : 1.13.0
187- cuda : 11.6
188- steps :
189- - uses : actions/checkout@v2
190- - name : Set up Python ${{ matrix.python-version }}
191- uses : actions/setup-python@v2
192- with :
193- python-version : ${{ matrix.python-version }}
194- - name : Upgrade pip
195- run : |
196- pip install pip --upgrade
197- pip install wheel
198- - name : Fetch GPG keys
199- run : |
200- apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
201- apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
202- - name : Install Python-dev
203- run : apt-get update && apt-get install -y python${{matrix.python-version}}-dev
204- - name : Install system dependencies
205- run : |
206- apt-get update && apt-get install -y ffmpeg libsm6 libxext6 git ninja-build libglib2.0-0 libsm6 libxrender-dev libxext6
207- - name : Install mmseg dependencies
208- run : |
209- python -V
210- pip install -U openmim
211- pip install git+https://github.com/open-mmlab/mmengine.git
212- mim install 'mmcv>=2.0.0rc4'
213- pip install git+https://github.com/open-mmlab/[email protected] 214- pip install git+https://github.com/open-mmlab/[email protected] 215- - name : Install unittest dependencies
216- run : pip install -r requirements/tests.txt -r requirements/optional.txt
217- - name : Build and install
218- run : |
219- python setup.py check -m -s
220- TORCH_CUDA_ARCH_LIST=7.0 pip install -e .
221134 build_windows :
222135 runs-on : ${{ matrix.os }}
223136 strategy :
@@ -226,9 +139,9 @@ jobs:
226139 python : [3.7]
227140 platform : [cpu, cu111]
228141 steps :
229- - uses : actions/checkout@v2
142+ - uses : actions/checkout@v3
230143 - name : Set up Python ${{ matrix.python-version }}
231- uses : actions/setup-python@v2
144+ uses : actions/setup-python@v4
232145 with :
233146 python-version : ${{ matrix.python-version }}
234147 - name : Upgrade pip
@@ -245,8 +158,8 @@ jobs:
245158 pip install -U openmim
246159 pip install git+https://github.com/open-mmlab/mmengine.git
247160 mim install 'mmcv>=2.0.0rc4'
248- pip install git+https://github.com/open-mmlab/[email protected] 249- pip install git+https://github.com/open-mmlab/mmdetection.git@dev-3.x
161+ pip install mmcls==1.0.0rc6
162+ pip install git+https://github.com/open-mmlab/mmdetection.git@main
250163 - name : Install unittest dependencies
251164 run : pip install -r requirements/tests.txt -r requirements/optional.txt
252165 - name : Build and install
0 commit comments