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
ce1f8aaf
Unverified
Commit
ce1f8aaf
authored
Oct 11, 2019
by
Edward Z. Yang
Committed by
GitHub
Oct 11, 2019
Browse files
Push-based nightlies (#305)
Signed-off-by:
Edward Z. Yang
<
ezyang@fb.com
>
parent
02ce049c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
123 additions
and
19 deletions
+123
-19
.circleci/config.yml
.circleci/config.yml
+109
-8
.circleci/config.yml.in
.circleci/config.yml.in
+14
-11
No files found.
.circleci/config.yml
View file @
ce1f8aaf
...
@@ -218,159 +218,260 @@ workflows:
...
@@ -218,159 +218,260 @@ workflows:
python_version
:
"
3.7"
python_version
:
"
3.7"
nightly
:
nightly
:
triggers
:
-
schedule
:
cron
:
"
0
9
*
*
*"
filters
:
branches
:
only
:
-
master
jobs
:
jobs
:
-
circleci_consistency
-
circleci_consistency
-
binary_linux_wheel
:
-
binary_linux_wheel
:
name
:
nightly_binary_linux_wheel_py2.7
name
:
nightly_binary_linux_wheel_py2.7
python_version
:
"
2.7"
python_version
:
"
2.7"
filters
:
branches
:
only
:
nightly
-
binary_wheel_upload
:
-
binary_wheel_upload
:
name
:
nightly_binary_linux_wheel_py2.7_upload
name
:
nightly_binary_linux_wheel_py2.7_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_wheel_py2.7
-
nightly_binary_linux_wheel_py2.7
filters
:
branches
:
only
:
nightly
-
binary_linux_wheel
:
-
binary_linux_wheel
:
name
:
nightly_binary_linux_wheel_py2.7_unicode
name
:
nightly_binary_linux_wheel_py2.7_unicode
python_version
:
"
2.7"
python_version
:
"
2.7"
unicode_abi
:
"
1"
unicode_abi
:
"
1"
filters
:
branches
:
only
:
nightly
-
binary_wheel_upload
:
-
binary_wheel_upload
:
name
:
nightly_binary_linux_wheel_py2.7_unicode_upload
name
:
nightly_binary_linux_wheel_py2.7_unicode_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_wheel_py2.7_unicode
-
nightly_binary_linux_wheel_py2.7_unicode
filters
:
branches
:
only
:
nightly
-
binary_linux_wheel
:
-
binary_linux_wheel
:
name
:
nightly_binary_linux_wheel_py3.5
name
:
nightly_binary_linux_wheel_py3.5
python_version
:
"
3.5"
python_version
:
"
3.5"
filters
:
branches
:
only
:
nightly
-
binary_wheel_upload
:
-
binary_wheel_upload
:
name
:
nightly_binary_linux_wheel_py3.5_upload
name
:
nightly_binary_linux_wheel_py3.5_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_wheel_py3.5
-
nightly_binary_linux_wheel_py3.5
filters
:
branches
:
only
:
nightly
-
binary_linux_wheel
:
-
binary_linux_wheel
:
name
:
nightly_binary_linux_wheel_py3.6
name
:
nightly_binary_linux_wheel_py3.6
python_version
:
"
3.6"
python_version
:
"
3.6"
filters
:
branches
:
only
:
nightly
-
binary_wheel_upload
:
-
binary_wheel_upload
:
name
:
nightly_binary_linux_wheel_py3.6_upload
name
:
nightly_binary_linux_wheel_py3.6_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_wheel_py3.6
-
nightly_binary_linux_wheel_py3.6
filters
:
branches
:
only
:
nightly
-
binary_linux_wheel
:
-
binary_linux_wheel
:
name
:
nightly_binary_linux_wheel_py3.7
name
:
nightly_binary_linux_wheel_py3.7
python_version
:
"
3.7"
python_version
:
"
3.7"
filters
:
branches
:
only
:
nightly
-
binary_wheel_upload
:
-
binary_wheel_upload
:
name
:
nightly_binary_linux_wheel_py3.7_upload
name
:
nightly_binary_linux_wheel_py3.7_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_wheel_py3.7
-
nightly_binary_linux_wheel_py3.7
filters
:
branches
:
only
:
nightly
-
binary_macos_wheel
:
-
binary_macos_wheel
:
name
:
nightly_binary_macos_wheel_py2.7
name
:
nightly_binary_macos_wheel_py2.7
python_version
:
"
2.7"
python_version
:
"
2.7"
filters
:
branches
:
only
:
nightly
-
binary_wheel_upload
:
-
binary_wheel_upload
:
name
:
nightly_binary_macos_wheel_py2.7_upload
name
:
nightly_binary_macos_wheel_py2.7_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_macos_wheel_py2.7
-
nightly_binary_macos_wheel_py2.7
filters
:
branches
:
only
:
nightly
-
binary_macos_wheel
:
-
binary_macos_wheel
:
name
:
nightly_binary_macos_wheel_py2.7_unicode
name
:
nightly_binary_macos_wheel_py2.7_unicode
python_version
:
"
2.7"
python_version
:
"
2.7"
unicode_abi
:
"
1"
unicode_abi
:
"
1"
filters
:
branches
:
only
:
nightly
-
binary_wheel_upload
:
-
binary_wheel_upload
:
name
:
nightly_binary_macos_wheel_py2.7_unicode_upload
name
:
nightly_binary_macos_wheel_py2.7_unicode_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_macos_wheel_py2.7_unicode
-
nightly_binary_macos_wheel_py2.7_unicode
filters
:
branches
:
only
:
nightly
-
binary_macos_wheel
:
-
binary_macos_wheel
:
name
:
nightly_binary_macos_wheel_py3.5
name
:
nightly_binary_macos_wheel_py3.5
python_version
:
"
3.5"
python_version
:
"
3.5"
filters
:
branches
:
only
:
nightly
-
binary_wheel_upload
:
-
binary_wheel_upload
:
name
:
nightly_binary_macos_wheel_py3.5_upload
name
:
nightly_binary_macos_wheel_py3.5_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_macos_wheel_py3.5
-
nightly_binary_macos_wheel_py3.5
filters
:
branches
:
only
:
nightly
-
binary_macos_wheel
:
-
binary_macos_wheel
:
name
:
nightly_binary_macos_wheel_py3.6
name
:
nightly_binary_macos_wheel_py3.6
python_version
:
"
3.6"
python_version
:
"
3.6"
filters
:
branches
:
only
:
nightly
-
binary_wheel_upload
:
-
binary_wheel_upload
:
name
:
nightly_binary_macos_wheel_py3.6_upload
name
:
nightly_binary_macos_wheel_py3.6_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_macos_wheel_py3.6
-
nightly_binary_macos_wheel_py3.6
filters
:
branches
:
only
:
nightly
-
binary_macos_wheel
:
-
binary_macos_wheel
:
name
:
nightly_binary_macos_wheel_py3.7
name
:
nightly_binary_macos_wheel_py3.7
python_version
:
"
3.7"
python_version
:
"
3.7"
filters
:
branches
:
only
:
nightly
-
binary_wheel_upload
:
-
binary_wheel_upload
:
name
:
nightly_binary_macos_wheel_py3.7_upload
name
:
nightly_binary_macos_wheel_py3.7_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_macos_wheel_py3.7
-
nightly_binary_macos_wheel_py3.7
filters
:
branches
:
only
:
nightly
-
binary_linux_conda
:
-
binary_linux_conda
:
name
:
nightly_binary_linux_conda_py2.7
name
:
nightly_binary_linux_conda_py2.7
python_version
:
"
2.7"
python_version
:
"
2.7"
filters
:
branches
:
only
:
nightly
-
binary_conda_upload
:
-
binary_conda_upload
:
name
:
nightly_binary_linux_conda_py2.7_upload
name
:
nightly_binary_linux_conda_py2.7_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_conda_py2.7
-
nightly_binary_linux_conda_py2.7
filters
:
branches
:
only
:
nightly
-
binary_linux_conda
:
-
binary_linux_conda
:
name
:
nightly_binary_linux_conda_py3.5
name
:
nightly_binary_linux_conda_py3.5
python_version
:
"
3.5"
python_version
:
"
3.5"
filters
:
branches
:
only
:
nightly
-
binary_conda_upload
:
-
binary_conda_upload
:
name
:
nightly_binary_linux_conda_py3.5_upload
name
:
nightly_binary_linux_conda_py3.5_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_conda_py3.5
-
nightly_binary_linux_conda_py3.5
filters
:
branches
:
only
:
nightly
-
binary_linux_conda
:
-
binary_linux_conda
:
name
:
nightly_binary_linux_conda_py3.6
name
:
nightly_binary_linux_conda_py3.6
python_version
:
"
3.6"
python_version
:
"
3.6"
filters
:
branches
:
only
:
nightly
-
binary_conda_upload
:
-
binary_conda_upload
:
name
:
nightly_binary_linux_conda_py3.6_upload
name
:
nightly_binary_linux_conda_py3.6_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_conda_py3.6
-
nightly_binary_linux_conda_py3.6
filters
:
branches
:
only
:
nightly
-
binary_linux_conda
:
-
binary_linux_conda
:
name
:
nightly_binary_linux_conda_py3.7
name
:
nightly_binary_linux_conda_py3.7
python_version
:
"
3.7"
python_version
:
"
3.7"
filters
:
branches
:
only
:
nightly
-
binary_conda_upload
:
-
binary_conda_upload
:
name
:
nightly_binary_linux_conda_py3.7_upload
name
:
nightly_binary_linux_conda_py3.7_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_linux_conda_py3.7
-
nightly_binary_linux_conda_py3.7
filters
:
branches
:
only
:
nightly
-
binary_macos_conda
:
-
binary_macos_conda
:
name
:
nightly_binary_macos_conda_py2.7
name
:
nightly_binary_macos_conda_py2.7
python_version
:
"
2.7"
python_version
:
"
2.7"
filters
:
branches
:
only
:
nightly
-
binary_conda_upload
:
-
binary_conda_upload
:
name
:
nightly_binary_macos_conda_py2.7_upload
name
:
nightly_binary_macos_conda_py2.7_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_macos_conda_py2.7
-
nightly_binary_macos_conda_py2.7
filters
:
branches
:
only
:
nightly
-
binary_macos_conda
:
-
binary_macos_conda
:
name
:
nightly_binary_macos_conda_py3.5
name
:
nightly_binary_macos_conda_py3.5
python_version
:
"
3.5"
python_version
:
"
3.5"
filters
:
branches
:
only
:
nightly
-
binary_conda_upload
:
-
binary_conda_upload
:
name
:
nightly_binary_macos_conda_py3.5_upload
name
:
nightly_binary_macos_conda_py3.5_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_macos_conda_py3.5
-
nightly_binary_macos_conda_py3.5
filters
:
branches
:
only
:
nightly
-
binary_macos_conda
:
-
binary_macos_conda
:
name
:
nightly_binary_macos_conda_py3.6
name
:
nightly_binary_macos_conda_py3.6
python_version
:
"
3.6"
python_version
:
"
3.6"
filters
:
branches
:
only
:
nightly
-
binary_conda_upload
:
-
binary_conda_upload
:
name
:
nightly_binary_macos_conda_py3.6_upload
name
:
nightly_binary_macos_conda_py3.6_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_macos_conda_py3.6
-
nightly_binary_macos_conda_py3.6
filters
:
branches
:
only
:
nightly
-
binary_macos_conda
:
-
binary_macos_conda
:
name
:
nightly_binary_macos_conda_py3.7
name
:
nightly_binary_macos_conda_py3.7
python_version
:
"
3.7"
python_version
:
"
3.7"
filters
:
branches
:
only
:
nightly
-
binary_conda_upload
:
-
binary_conda_upload
:
name
:
nightly_binary_macos_conda_py3.7_upload
name
:
nightly_binary_macos_conda_py3.7_upload
context
:
org-member
context
:
org-member
requires
:
requires
:
-
nightly_binary_macos_conda_py3.7
-
nightly_binary_macos_conda_py3.7
\ No newline at end of file
filters
:
branches
:
only
:
nightly
\ No newline at end of file
.circleci/config.yml.in
View file @
ce1f8aaf
...
@@ -156,13 +156,18 @@ jobs:
...
@@ -156,13 +156,18 @@ jobs:
done
done
{%- macro workflow(btype, os, python_version, unicode, prefix='', upload=False) %}
{%- macro workflow(btype, os, python_version, unicode, prefix='',
filter_branch=None,
upload=False) %}
- binary_{{os}}_{{btype}}:
- binary_{{os}}_{{btype}}:
name: {{prefix}}binary_{{os}}_{{btype}}_py{{python_version}}{{ "_unicode" if unicode }}
name: {{prefix}}binary_{{os}}_{{btype}}_py{{python_version}}{{ "_unicode" if unicode }}
python_version: "{{python_version}}"
python_version: "{{python_version}}"
{%- if unicode %}
{%- if unicode %}
unicode_abi: "1"
unicode_abi: "1"
{%- endif %}
{%- endif %}
{%- if filter_branch %}
filters:
branches:
only: {{filter_branch}}
{%- endif %}
{%- if upload %}
{%- if upload %}
- binary_{{btype}}_upload:
- binary_{{btype}}_upload:
...
@@ -170,15 +175,20 @@ jobs:
...
@@ -170,15 +175,20 @@ jobs:
context: org-member
context: org-member
requires:
requires:
- {{prefix}}binary_{{os}}_{{btype}}_py{{python_version}}{{ "_unicode" if unicode }}
- {{prefix}}binary_{{os}}_{{btype}}_py{{python_version}}{{ "_unicode" if unicode }}
{%- if filter_branch %}
filters:
branches:
only: {{filter_branch}}
{%- endif %}
{%- endif %}
{%- endif %}
{%- endmacro %}
{%- endmacro %}
{%- macro workflows(prefix='', upload=False) %}
{%- macro workflows(prefix='',
filter_branch=None,
upload=False) %}
{%- for btype in ["wheel", "conda"] -%}
{%- for btype in ["wheel", "conda"] -%}
{%- for os in ["linux", "macos"] -%}
{%- for os in ["linux", "macos"] -%}
{%- for python_version in ["2.7", "3.5", "3.6", "3.7"] -%}
{%- for python_version in ["2.7", "3.5", "3.6", "3.7"] -%}
{%- for unicode in ([False, True] if btype == "wheel" and python_version == "2.7" else [False]) -%}
{%- for unicode in ([False, True] if btype == "wheel" and python_version == "2.7" else [False]) -%}
{{ workflow(btype, os, python_version, unicode, prefix=prefix, upload=upload) }}
{{ workflow(btype, os, python_version, unicode, prefix=prefix,
filter_branch=filter_branch,
upload=upload) }}
{%- endfor -%}
{%- endfor -%}
{%- endfor -%}
{%- endfor -%}
{%- endfor -%}
{%- endfor -%}
...
@@ -193,14 +203,7 @@ workflows:
...
@@ -193,14 +203,7 @@ workflows:
{{ workflows() }}
{{ workflows() }}
nightly:
nightly:
triggers:
- schedule:
cron: "0 9 * * *"
filters:
branches:
only:
- master
{%- endif %}
{%- endif %}
jobs:
jobs:
- circleci_consistency
- circleci_consistency
{{ workflows(prefix="nightly_", upload=True) }}
{{ workflows(prefix="nightly_",
filter_branch="nightly",
upload=True) }}
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