[CI] Add PyTorch 1.9 and Python 3.9 build workflow, and remove some CI. (#422)
* Add PyTorch 1.9 build workflow, and remove some CI. * Add Python 3.9 CI * Show Python 3.9 support.pull/429/head
parent
a41cb2fa93
commit
5aa132a91c
|
@ -28,7 +28,7 @@ jobs:
|
|||
strategy:
|
||||
matrix:
|
||||
python-version: [3.7]
|
||||
torch: [1.3.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0]
|
||||
torch: [1.3.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0]
|
||||
include:
|
||||
- torch: 1.3.0
|
||||
torchvision: 0.4.2
|
||||
|
@ -36,20 +36,8 @@ jobs:
|
|||
torchvision: 0.6.0
|
||||
- torch: 1.6.0
|
||||
torchvision: 0.7.0
|
||||
- torch: 1.6.0
|
||||
torchvision: 0.7.0
|
||||
python-version: 3.6
|
||||
- torch: 1.6.0
|
||||
torchvision: 0.7.0
|
||||
python-version: 3.8
|
||||
- torch: 1.7.0
|
||||
torchvision: 0.8.1
|
||||
- torch: 1.7.0
|
||||
torchvision: 0.8.1
|
||||
python-version: 3.6
|
||||
- torch: 1.7.0
|
||||
torchvision: 0.8.1
|
||||
python-version: 3.8
|
||||
- torch: 1.8.0
|
||||
torchvision: 0.9.0
|
||||
- torch: 1.8.0
|
||||
|
@ -58,6 +46,20 @@ jobs:
|
|||
- torch: 1.8.0
|
||||
torchvision: 0.9.0
|
||||
python-version: 3.8
|
||||
- torch: 1.8.0
|
||||
torchvision: 0.9.0
|
||||
python-version: 3.9
|
||||
- torch: 1.9.0
|
||||
torchvision: 0.10.0
|
||||
- torch: 1.9.0
|
||||
torchvision: 0.10.0
|
||||
python-version: 3.6
|
||||
- torch: 1.9.0
|
||||
torchvision: 0.10.0
|
||||
python-version: 3.8
|
||||
- torch: 1.9.0
|
||||
torchvision: 0.10.0
|
||||
python-version: 3.9
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
1
setup.py
1
setup.py
|
@ -166,6 +166,7 @@ if __name__ == '__main__':
|
|||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
'Programming Language :: Python :: 3.9',
|
||||
],
|
||||
license='Apache License 2.0',
|
||||
tests_require=parse_requirements('requirements/tests.txt'),
|
||||
|
|
Loading…
Reference in New Issue