[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
Ma Zerun 2021-09-01 11:06:00 +08:00 committed by GitHub
parent a41cb2fa93
commit 5aa132a91c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 13 deletions

View File

@ -28,7 +28,7 @@ jobs:
strategy: strategy:
matrix: matrix:
python-version: [3.7] 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: include:
- torch: 1.3.0 - torch: 1.3.0
torchvision: 0.4.2 torchvision: 0.4.2
@ -36,20 +36,8 @@ jobs:
torchvision: 0.6.0 torchvision: 0.6.0
- torch: 1.6.0 - torch: 1.6.0
torchvision: 0.7.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 - torch: 1.7.0
torchvision: 0.8.1 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 - torch: 1.8.0
torchvision: 0.9.0 torchvision: 0.9.0
- torch: 1.8.0 - torch: 1.8.0
@ -58,6 +46,20 @@ jobs:
- torch: 1.8.0 - torch: 1.8.0
torchvision: 0.9.0 torchvision: 0.9.0
python-version: 3.8 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: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@ -166,6 +166,7 @@ if __name__ == '__main__':
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
], ],
license='Apache License 2.0', license='Apache License 2.0',
tests_require=parse_requirements('requirements/tests.txt'), tests_require=parse_requirements('requirements/tests.txt'),