summaryrefslogtreecommitdiff
path: root/.circleci/config.yml
diff options
context:
space:
mode:
authorEdward Yang <ezyang@fb.com>2019-01-30 10:49:22 -0800
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2019-01-30 11:04:58 -0800
commit68620cdcb561a5610f23d0d52ba37d70f8aeeae4 (patch)
tree8a7341d4f36c4e6f81feaaa806570909b9f1ca86 /.circleci/config.yml
parent34b43baeec3f5d2c0e45ecbdf866f121b6829d15 (diff)
downloadpytorch-68620cdcb561a5610f23d0d52ba37d70f8aeeae4.tar.gz
pytorch-68620cdcb561a5610f23d0d52ba37d70f8aeeae4.tar.bz2
pytorch-68620cdcb561a5610f23d0d52ba37d70f8aeeae4.zip
Revert D13880053: [pytorch][PR] add new build files to gitignore; test that build doesn't leave repo dirty
Differential Revision: D13880053 Original commit changeset: 0171f42438ef fbshipit-source-id: a734f8704c1cbe16434c672289c505b19b2b490a
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 9eeeb56963..2c33c45855 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -80,7 +80,7 @@ install_doc_push_script: &install_doc_push_script
popd
pushd docs
rm -rf source/torchvision
- cp -a ../vision/docs/source source/torchvision
+ cp -r ../vision/docs/source source/torchvision
# Build the docs
pip -q install -r requirements.txt || true
@@ -1242,13 +1242,12 @@ jobs:
export AWS_ACCESS_KEY_ID=${CIRCLECI_AWS_ACCESS_KEY_FOR_SCCACHE_S3_BUCKET_V3}
export AWS_SECRET_ACCESS_KEY=${CIRCLECI_AWS_SECRET_KEY_FOR_SCCACHE_S3_BUCKET_V3}
+ git submodule sync && git submodule update -q --init
chmod a+x .jenkins/pytorch/macos-build.sh
unbuffer .jenkins/pytorch/macos-build.sh 2>&1 | ts
mkdir -p /Users/distiller/pytorch-ci-env/workspace
-
- # copy with -a to preserve relative structure (e.g., symlinks), and be recursive
- cp -a /Users/distiller/project/. /Users/distiller/pytorch-ci-env/workspace
+ cp -r /Users/distiller/project/. /Users/distiller/pytorch-ci-env/workspace
- persist_to_workspace:
root: /Users/distiller/pytorch-ci-env
paths:
@@ -1277,8 +1276,7 @@ jobs:
set -e
export IN_CIRCLECI=1
- # copy with -a to preserve relative structure (e.g., symlinks), and be recursive
- cp -a /Users/distiller/pytorch-ci-env/workspace/. /Users/distiller/project
+ cp -r /Users/distiller/pytorch-ci-env/workspace/. /Users/distiller/project
chmod a+x .jenkins/pytorch/macos-test.sh
unbuffer .jenkins/pytorch/macos-test.sh 2>&1 | ts