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
Torchaudio
Commits
be903fa7
Unverified
Commit
be903fa7
authored
Jun 15, 2021
by
Matti Picus
Committed by
GitHub
Jun 15, 2021
Browse files
Fix doc build on tag (#1577)
parent
e39ece66
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
4 deletions
+22
-4
.circleci/config.yml
.circleci/config.yml
+12
-0
.circleci/regenerate.py
.circleci/regenerate.py
+10
-4
No files found.
.circleci/config.yml
View file @
be903fa7
...
...
@@ -686,6 +686,12 @@ workflows:
wheel_docker_image
:
pytorch/manylinux-rocm:4.1
-
binary_linux_wheel
:
cuda_version
:
cpu
filters
:
branches
:
only
:
-
/.*/
tags
:
only
:
/v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name
:
binary_linux_wheel_py3.8_cpu
python_version
:
'
3.8'
requires
:
...
...
@@ -991,6 +997,12 @@ workflows:
name
:
binary_windows_conda_py3.9_cu111
python_version
:
'
3.9'
-
build_docs
:
filters
:
branches
:
only
:
-
/.*/
tags
:
only
:
/v[0-9]+(\.[0-9]+)*-rc[0-9]+/
name
:
build_docs
python_version
:
'
3.8'
requires
:
...
...
.circleci/regenerate.py
View file @
be903fa7
...
...
@@ -36,14 +36,20 @@ def build_workflows(prefix='', upload=False, filter_branch=None, indentation=6):
for
os_type
in
[
"linux"
,
"macos"
,
"windows"
]:
for
python_version
in
PYTHON_VERSIONS
:
for
cu_version
in
CU_VERSIONS_DICT
[
os_type
]:
fb
=
filter_branch
if
cu_version
.
startswith
(
"rocm"
)
and
btype
==
"conda"
:
pass
else
:
w
+=
build_workflow_pair
(
btype
,
os_type
,
python_version
,
cu_version
,
filter_branch
,
prefix
,
upload
)
continue
if
not
fb
and
(
os_type
==
'linux'
and
btype
==
'wheel'
and
python_version
==
'3.8'
and
cu_version
==
'cpu'
):
# the fields must match the build_docs "requires" dependency
fb
=
'/.*/'
w
+=
build_workflow_pair
(
btype
,
os_type
,
python_version
,
cu_version
,
fb
,
prefix
,
upload
)
if
not
filter_branch
:
# Build on every pull request, but upload only on nightly and tags
w
+=
build_doc_job
(
None
)
w
+=
build_doc_job
(
'/.*/'
)
w
+=
upload_doc_job
(
'nightly'
)
w
+=
docstring_parameters_sync_job
(
None
)
...
...
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