diff options
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 62 |
1 files changed, 30 insertions, 32 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 748ed4eb45..f9c23b4db2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,8 +5,8 @@ # https://github.com/pytorch/ossci-job-dsl/blob/master/src/main/groovy/ossci/pytorch/DockerVersion.groovy and # https://github.com/pytorch/ossci-job-dsl/blob/master/src/main/groovy/ossci/caffe2/DockerVersion.groovy, # and then update DOCKER_IMAGE_VERSION at the top of the following files: -# * cimodel/pytorch_build_definitions.py -# * cimodel/caffe2_build_definitions.py +# * cimodel/data/pytorch_build_definitions.py +# * cimodel/data/caffe2_build_definitions.py docker_config_defaults: &docker_config_defaults user: jenkins @@ -1103,10 +1103,8 @@ smoke_mac_test: &smoke_mac_test ############################################################################## -############################################################################## # Job specifications job specs ############################################################################## -############################################################################## version: 2 jobs: pytorch_linux_trusty_py2_7_9_build: @@ -1148,6 +1146,19 @@ jobs: resource_class: large <<: *pytorch_linux_test_defaults + pytorch_linux_trusty_pynightly_build: + environment: + BUILD_ENVIRONMENT: pytorch-linux-trusty-pynightly-build + DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-trusty-pynightly:291" + <<: *pytorch_linux_build_defaults + + pytorch_linux_trusty_pynightly_test: + environment: + BUILD_ENVIRONMENT: pytorch-linux-trusty-pynightly-test + DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-trusty-pynightly:291" + resource_class: large + <<: *pytorch_linux_test_defaults + pytorch_linux_trusty_py3_6_gcc4_8_build: environment: BUILD_ENVIRONMENT: pytorch-linux-trusty-py3.6-gcc4.8-build @@ -1200,19 +1211,6 @@ jobs: resource_class: large <<: *pytorch_linux_test_defaults - pytorch_linux_trusty_pynightly_build: - environment: - BUILD_ENVIRONMENT: pytorch-linux-trusty-pynightly-build - DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-trusty-pynightly:291" - <<: *pytorch_linux_build_defaults - - pytorch_linux_trusty_pynightly_test: - environment: - BUILD_ENVIRONMENT: pytorch-linux-trusty-pynightly-test - DOCKER_IMAGE: "308535385114.dkr.ecr.us-east-1.amazonaws.com/pytorch/pytorch-linux-trusty-pynightly:291" - resource_class: large - <<: *pytorch_linux_test_defaults - pytorch_linux_xenial_py3_clang5_asan_build: environment: BUILD_ENVIRONMENT: pytorch-linux-xenial-py3-clang5-asan-build @@ -1677,14 +1675,12 @@ jobs: environment: BUILD_ENVIRONMENT: caffe2-py2-ios-macos10.13-build BUILD_IOS: "1" - PYTHON_INSTALLATION: "system" PYTHON_VERSION: "2" <<: *caffe2_macos_build_defaults caffe2_py2_system_macos10_13_build: environment: BUILD_ENVIRONMENT: caffe2-py2-system-macos10.13-build - PYTHON_INSTALLATION: "system" PYTHON_VERSION: "2" <<: *caffe2_macos_build_defaults @@ -2040,10 +2036,11 @@ jobs: BUILD_ENVIRONMENT: "libtorch 2.7 cpu" <<: *binary_mac_build - # Binary build tests - # These are the smoke tests run right after the build, before the upload. If - # these fail, the upload doesn't happen - ############################################################################# +############################################################################## +# Binary build tests +# These are the smoke tests run right after the build, before the upload. +# If these fail, the upload doesn't happen. +############################################################################## binary_linux_manywheel_2.7m_cpu_test: environment: BUILD_ENVIRONMENT: "manywheel 2.7m cpu" @@ -2339,8 +2336,9 @@ jobs: # resource_class: gpu.medium # <<: *binary_linux_test - # Binary build uploads - ############################################################################# +############################################################################## +# Binary build uploads +############################################################################## binary_linux_manywheel_2.7m_cpu_upload: environment: BUILD_ENVIRONMENT: "manywheel 2.7m cpu" @@ -2586,7 +2584,6 @@ jobs: BUILD_ENVIRONMENT: "libtorch 2.7 cpu" <<: *binary_mac_upload - ############################################################################## # Smoke test specs individual job specifications ############################################################################## @@ -3065,6 +3062,10 @@ workflows: - pytorch_linux_trusty_py3_5_test: requires: - pytorch_linux_trusty_py3_5_build + - pytorch_linux_trusty_pynightly_build + - pytorch_linux_trusty_pynightly_test: + requires: + - pytorch_linux_trusty_pynightly_build - pytorch_linux_trusty_py3_6_gcc4_8_build - pytorch_linux_trusty_py3_6_gcc4_8_test: requires: @@ -3081,10 +3082,6 @@ workflows: - pytorch_linux_trusty_py3_6_gcc7_test: requires: - pytorch_linux_trusty_py3_6_gcc7_build - - pytorch_linux_trusty_pynightly_build - - pytorch_linux_trusty_pynightly_test: - requires: - - pytorch_linux_trusty_pynightly_build - pytorch_linux_xenial_py3_clang5_asan_build - pytorch_linux_xenial_py3_clang5_asan_test: requires: @@ -3270,7 +3267,6 @@ workflows: - smoke_macos_conda_3.7_cpu - smoke_macos_libtorch_2.7_cpu - ############################################################################## # Daily binary build trigger ############################################################################## @@ -3333,7 +3329,9 @@ workflows: - binary_macos_conda_3.7_cpu_build - binary_macos_libtorch_2.7_cpu_build - # Nightly tests +############################################################################## +# Nightly tests +############################################################################## - binary_linux_manywheel_2.7m_cpu_test: requires: - binary_linux_manywheel_2.7m_cpu_build |