Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
6fc6f75a
Unverified
Commit
6fc6f75a
authored
Mar 10, 2021
by
ZhangShilong
Committed by
GitHub
Mar 10, 2021
Browse files
use ubuntu-18.04 in ci (#883)
parent
a4bb2c5b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
.github/workflows/build.yml
.github/workflows/build.yml
+5
-5
.github/workflows/build_pat.yml
.github/workflows/build_pat.yml
+1
-1
.github/workflows/publish-to-pypi.yml
.github/workflows/publish-to-pypi.yml
+2
-2
No files found.
.github/workflows/build.yml
View file @
6fc6f75a
...
@@ -7,7 +7,7 @@ env:
...
@@ -7,7 +7,7 @@ env:
jobs
:
jobs
:
lint
:
lint
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
-
name
:
Set up Python
3.7
-
name
:
Set up Python
3.7
...
@@ -28,7 +28,7 @@ jobs:
...
@@ -28,7 +28,7 @@ jobs:
style
:
google
style
:
google
build_without_torch
:
build_without_torch
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
strategy
:
strategy
:
matrix
:
matrix
:
python-version
:
[
3.7
]
python-version
:
[
3.7
]
...
@@ -51,7 +51,7 @@ jobs:
...
@@ -51,7 +51,7 @@ jobs:
pytest tests/ --ignore=tests/test_runner --ignore=tests/test_optimizer.py --ignore=tests/test_cnn --ignore=tests/test_parallel.py --ignore=tests/test_ops --ignore=tests/test_load_model_zoo.py --ignore=tests/test_utils/test_logging.py --ignore=tests/test_image/test_io.py --ignore=tests/test_utils/test_registry.py --ignore=tests/test_utils/test_parrots_jit.py
pytest tests/ --ignore=tests/test_runner --ignore=tests/test_optimizer.py --ignore=tests/test_cnn --ignore=tests/test_parallel.py --ignore=tests/test_ops --ignore=tests/test_load_model_zoo.py --ignore=tests/test_utils/test_logging.py --ignore=tests/test_image/test_io.py --ignore=tests/test_utils/test_registry.py --ignore=tests/test_utils/test_parrots_jit.py
build_without_ops
:
build_without_ops
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
env
:
env
:
MMCV_WITH_OPS
:
0
MMCV_WITH_OPS
:
0
strategy
:
strategy
:
...
@@ -81,7 +81,7 @@ jobs:
...
@@ -81,7 +81,7 @@ jobs:
pytest tests/ --ignore=tests/test_ops
pytest tests/ --ignore=tests/test_ops
build_cpu
:
build_cpu
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
strategy
:
strategy
:
matrix
:
matrix
:
python-version
:
[
3.7
]
python-version
:
[
3.7
]
...
@@ -122,7 +122,7 @@ jobs:
...
@@ -122,7 +122,7 @@ jobs:
coverage report -m
coverage report -m
build_cuda
:
build_cuda
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
env
:
env
:
CUDA
:
10.1.105-1
CUDA
:
10.1.105-1
CUDA_SHORT
:
10.1
CUDA_SHORT
:
10.1
...
...
.github/workflows/build_pat.yml
View file @
6fc6f75a
...
@@ -7,7 +7,7 @@ env:
...
@@ -7,7 +7,7 @@ env:
jobs
:
jobs
:
build_parrots
:
build_parrots
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
container
:
container
:
image
:
ghcr.io/sunnyxiaohu/parrots-mmcv:1.2.1
image
:
ghcr.io/sunnyxiaohu/parrots-mmcv:1.2.1
credentials
:
credentials
:
...
...
.github/workflows/publish-to-pypi.yml
View file @
6fc6f75a
...
@@ -4,7 +4,7 @@ on: push
...
@@ -4,7 +4,7 @@ on: push
jobs
:
jobs
:
build-n-publish
:
build-n-publish
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
if
:
startsWith(github.event.ref, 'refs/tags')
if
:
startsWith(github.event.ref, 'refs/tags')
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
...
@@ -20,7 +20,7 @@ jobs:
...
@@ -20,7 +20,7 @@ jobs:
twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}
twine upload dist/* -u __token__ -p ${{ secrets.pypi_password }}
build-n-publish_with_ops
:
build-n-publish_with_ops
:
runs-on
:
ubuntu-
latest
runs-on
:
ubuntu-
18.04
if
:
startsWith(github.event.ref, 'refs/tags')
if
:
startsWith(github.event.ref, 'refs/tags')
steps
:
steps
:
-
uses
:
actions/checkout@v2
-
uses
:
actions/checkout@v2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment