config.yml 18.2 KB
Newer Older
1
2
version: 2.1

3
# How to test the Linux jobs:
4
#   - Install CircleCI local CLI: https://circleci.com/docs/2.0/local-cli/
Edward Z. Yang's avatar
Edward Z. Yang committed
5
6
7
#   - circleci config process .circleci/config.yml > gen.yml && circleci local execute -c gen.yml --job binary_linux_wheel_py3.7
#     - Replace binary_linux_wheel_py3.7 with the name of the job you want to test.
#       Job names are 'name:' key.
8

9
10
binary_common: &binary_common
  parameters:
Edward Z. Yang's avatar
Edward Z. Yang committed
11
    # Edit these defaults to do a release
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
    build_version:
      description: "version number of release binary; by default, build a nightly"
      type: string
      default: ""
    pytorch_version:
      description: "PyTorch version to build against; by default, use a nightly"
      type: string
      default: ""
    # Don't edit these
    python_version:
      description: "Python version to build against (e.g., 3.7)"
      type: string
    unicode_abi:
      description: "Python 2.7 wheel only: whether or not we are cp27mu (default: no)"
      type: string
      default: ""
  environment:
    PYTHON_VERSION: << parameters.python_version >>
    BUILD_VERSION: << parameters.build_version >>
    PYTORCH_VERSION: << parameters.pytorch_version >>
    UNICODE_ABI: << parameters.unicode_abi >>
Edward Z. Yang's avatar
Edward Z. Yang committed
33
    CU_VERSION: cpu
34

Mingbo Wan's avatar
Mingbo Wan committed
35
36
37
38
39
40
41
42
smoke_test_common: &smoke_test_common
  <<: *binary_common
  docker:
    - image: 308535385114.dkr.ecr.us-east-1.amazonaws.com/torchaudio/smoke_test:d26af7d0-8458-face-book-84239b5c75c0
      aws_auth:
        aws_access_key_id: ${ECR_AWS_ACCESS_KEY}
        aws_secret_access_key: ${ECR_AWS_SECRET_ACCESS_KEY}

43
jobs:
44
45
46
47
48
49
50
51
52
53
54
  circleci_consistency:
    docker:
      - image: circleci/python:3.7
    steps:
      - checkout
      - run:
          command: |
            pip install --user --progress-bar off jinja2
            python .circleci/regenerate.py
            git diff --exit-code || (echo ".circleci/config.yml not in sync with config.yml.in! Run .circleci/regenerate.py to update config"; exit 1)

55
  binary_linux_wheel:
56
    <<: *binary_common
57
    docker:
58
      - image: "pytorch/manylinux-cuda100"
59
60
61
    resource_class: 2xlarge+
    steps:
      - checkout
62
      - run: packaging/build_wheel.sh
63
      - store_artifacts:
64
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
65
66
67
68
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
69
70

  binary_linux_conda:
71
    <<: *binary_common
72
    docker:
73
      - image: "pytorch/conda-cuda"
74
75
76
    resource_class: 2xlarge+
    steps:
      - checkout
77
      - run: packaging/build_conda.sh
78
79
      - store_artifacts:
          path: /opt/conda/conda-bld/linux-64
Edward Z. Yang's avatar
Edward Z. Yang committed
80
81
82
83
      - persist_to_workspace:
          root: /opt/conda/conda-bld/linux-64
          paths:
            - "*"
84

85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
  binary_macos_wheel:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
      - checkout
      - run:
          # Cannot easily deduplicate this as source'ing activate
          # will set environment variables which we need to propagate
          # to build_wheel.sh
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            packaging/build_wheel.sh
      - store_artifacts:
          path: dist
Edward Z. Yang's avatar
Edward Z. Yang committed
102
103
104
105
      - persist_to_workspace:
          root: dist
          paths:
            - "*"
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121

  binary_macos_conda:
    <<: *binary_common
    macos:
      xcode: "9.0"
    steps:
      - checkout
      - run:
          command: |
            curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
            sh conda.sh -b
            source $HOME/miniconda3/bin/activate
            conda install -yq conda-build
            packaging/build_conda.sh
      - store_artifacts:
          path: /Users/distiller/miniconda3/conda-bld/osx-64
Edward Z. Yang's avatar
Edward Z. Yang committed
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
      - persist_to_workspace:
          root: /Users/distiller/miniconda3/conda-bld/osx-64
          paths:
            - "*"

  # Requires org-member context
  binary_conda_upload:
    docker:
      - image: continuumio/miniconda
    steps:
      - attach_workspace:
          at: ~/workspace
      - run:
          command: |
            # Prevent credential from leaking
            conda install -yq anaconda-client
            set +x
            anaconda login \
                --username "$PYTORCH_BINARY_PJH5_CONDA_USERNAME" \
                --password "$PYTORCH_BINARY_PJH5_CONDA_PASSWORD"
            set -x
            anaconda upload ~/workspace/*.tar.bz2 -u pytorch-nightly --label main --no-progress --force

  # Requires org-member context
  binary_wheel_upload:
    docker:
      - image: circleci/python:3.7
    steps:
      - attach_workspace:
          at: ~/workspace
      - checkout
      - run:
          command: |
            pip install --user awscli
            export PATH="$HOME/.local/bin:$PATH"
            # Prevent credential from leaking
            set +x
            export AWS_ACCESS_KEY_ID="${PYTORCH_BINARY_AWS_ACCESS_KEY_ID}"
            export AWS_SECRET_ACCESS_KEY="${PYTORCH_BINARY_AWS_SECRET_ACCESS_KEY}"
            set -x
            for pkg in ~/workspace/*.whl; do
              aws s3 cp "$pkg" "s3://pytorch/whl/nightly/" --acl public-read
            done
165

Mingbo Wan's avatar
Mingbo Wan committed
166
167
168
  smoke_test_linux_conda:
    <<: *smoke_test_common
    steps:
Mingbo Wan's avatar
Mingbo Wan committed
169
170
      - attach_workspace:
          at: ~/workspace
Mingbo Wan's avatar
Mingbo Wan committed
171
      - run:
Mingbo Wan's avatar
Mingbo Wan committed
172
          name: install binaries
Mingbo Wan's avatar
Mingbo Wan committed
173
174
175
          command: |
            set -x
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
Mingbo Wan's avatar
Mingbo Wan committed
176
177
178
179
180
181
            conda install -v -y -c pytorch-nightly pytorch
            conda install -v -y $(ls ~/workspace/torchaudio*.tar.bz2)
      - run:
          name: smoke test
          command: |
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
Mingbo Wan's avatar
Mingbo Wan committed
182
183
184
185
186
            python -c "import torchaudio"

  smoke_test_linux_pip:
    <<: *smoke_test_common
    steps:
Mingbo Wan's avatar
Mingbo Wan committed
187
188
      - attach_workspace:
          at: ~/workspace
Mingbo Wan's avatar
Mingbo Wan committed
189
      - run:
Mingbo Wan's avatar
Mingbo Wan committed
190
          name: install binaries
Mingbo Wan's avatar
Mingbo Wan committed
191
192
193
          command: |
            set -x
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
Mingbo Wan's avatar
Mingbo Wan committed
194
195
196
197
198
            pip install $(ls ~/workspace/torchaudio*.whl) -f https://download.pytorch.org/whl/nightly/torch_nightly.html
      - run:
          name: smoke test
          command: |
            source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
Mingbo Wan's avatar
Mingbo Wan committed
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
            python -c "import torchaudio"

  docker_image_build:
    machine:
      image: ubuntu-1604:201903-01
    resource_class: large
    environment:
      image_name: torchaudio/smoke_test
    steps:
      - checkout
      - run:
          name: build_docker image
          no_output_timeout: "1h"
          command: |
            cd .circleci/docker && docker build . -t ${image_name}:${CIRCLE_WORKFLOW_ID}
      - run:
          name: upload docker image
          no_output_timeout: "1h"
          command: |
            set +x
            export AWS_ACCESS_KEY_ID=${ECR_AWS_ACCESS_KEY}
            export AWS_SECRET_ACCESS_KEY=${ECR_AWS_SECRET_ACCESS_KEY}
            eval $(aws ecr get-login --region us-east-1 --no-include-email)
            set -x
            docker tag ${image_name}:${CIRCLE_WORKFLOW_ID} 308535385114.dkr.ecr.us-east-1.amazonaws.com/${image_name}:${CIRCLE_WORKFLOW_ID}
            docker push 308535385114.dkr.ecr.us-east-1.amazonaws.com/${image_name}:${CIRCLE_WORKFLOW_ID}

226
227
228
workflows:
  build:
    jobs:
229
      - circleci_consistency
Edward Z. Yang's avatar
Edward Z. Yang committed
230
      
231
232
233
234
235
236
237
238
239
240
241
242
243
      - binary_linux_wheel:
          name: binary_linux_wheel_py2.7
          python_version: "2.7"
      - binary_linux_wheel:
          name: binary_linux_wheel_py2.7_unicode
          python_version: "2.7"
          unicode_abi: "1"
      - binary_linux_wheel:
          name: binary_linux_wheel_py3.5
          python_version: "3.5"
      - binary_linux_wheel:
          name: binary_linux_wheel_py3.6
          python_version: "3.6"
244
245
246
      - binary_linux_wheel:
          name: binary_linux_wheel_py3.7
          python_version: "3.7"
247
248
249
250
251
252
253
254
255
256
257
258
259
      - binary_macos_wheel:
          name: binary_macos_wheel_py2.7
          python_version: "2.7"
      - binary_macos_wheel:
          name: binary_macos_wheel_py2.7_unicode
          python_version: "2.7"
          unicode_abi: "1"
      - binary_macos_wheel:
          name: binary_macos_wheel_py3.5
          python_version: "3.5"
      - binary_macos_wheel:
          name: binary_macos_wheel_py3.6
          python_version: "3.6"
260
261
262
      - binary_macos_wheel:
          name: binary_macos_wheel_py3.7
          python_version: "3.7"
263
264
265
266
267
268
269
270
271
      - binary_linux_conda:
          name: binary_linux_conda_py2.7
          python_version: "2.7"
      - binary_linux_conda:
          name: binary_linux_conda_py3.5
          python_version: "3.5"
      - binary_linux_conda:
          name: binary_linux_conda_py3.6
          python_version: "3.6"
272
273
274
      - binary_linux_conda:
          name: binary_linux_conda_py3.7
          python_version: "3.7"
275
276
277
278
279
280
281
282
283
      - binary_macos_conda:
          name: binary_macos_conda_py2.7
          python_version: "2.7"
      - binary_macos_conda:
          name: binary_macos_conda_py3.5
          python_version: "3.5"
      - binary_macos_conda:
          name: binary_macos_conda_py3.6
          python_version: "3.6"
284
285
286
      - binary_macos_conda:
          name: binary_macos_conda_py3.7
          python_version: "3.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
287
288
289
290
291
292
293
294

  nightly:
    jobs:
      - circleci_consistency
      
      - binary_linux_wheel:
          name: nightly_binary_linux_wheel_py2.7
          python_version: "2.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
295
296
297
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
298
299
300
301
302
      - binary_wheel_upload:
          name: nightly_binary_linux_wheel_py2.7_upload
          context: org-member
          requires:
            - nightly_binary_linux_wheel_py2.7
Edward Z. Yang's avatar
Edward Z. Yang committed
303
304
305
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
306
307
308
309
      - binary_linux_wheel:
          name: nightly_binary_linux_wheel_py2.7_unicode
          python_version: "2.7"
          unicode_abi: "1"
Edward Z. Yang's avatar
Edward Z. Yang committed
310
311
312
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
313
314
315
316
317
      - binary_wheel_upload:
          name: nightly_binary_linux_wheel_py2.7_unicode_upload
          context: org-member
          requires:
            - nightly_binary_linux_wheel_py2.7_unicode
Edward Z. Yang's avatar
Edward Z. Yang committed
318
319
320
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
321
322
323
      - binary_linux_wheel:
          name: nightly_binary_linux_wheel_py3.5
          python_version: "3.5"
Edward Z. Yang's avatar
Edward Z. Yang committed
324
325
326
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
327
328
329
330
331
      - binary_wheel_upload:
          name: nightly_binary_linux_wheel_py3.5_upload
          context: org-member
          requires:
            - nightly_binary_linux_wheel_py3.5
Mingbo Wan's avatar
Mingbo Wan committed
332
333
334
335
336
      - smoke_test_linux_pip:
          name: nightly_binary_linux_wheel_py3.5_smoke_test_pip
          python_version: "3.5"
          requires:
            - nightly_binary_linux_wheel_py3.5_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
337
338
339
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
340
341
342
      - binary_linux_wheel:
          name: nightly_binary_linux_wheel_py3.6
          python_version: "3.6"
Edward Z. Yang's avatar
Edward Z. Yang committed
343
344
345
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
346
347
348
349
350
      - binary_wheel_upload:
          name: nightly_binary_linux_wheel_py3.6_upload
          context: org-member
          requires:
            - nightly_binary_linux_wheel_py3.6
Mingbo Wan's avatar
Mingbo Wan committed
351
352
353
354
355
      - smoke_test_linux_pip:
          name: nightly_binary_linux_wheel_py3.6_smoke_test_pip
          python_version: "3.6"
          requires:
            - nightly_binary_linux_wheel_py3.6_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
356
357
358
          filters:
            branches:
              only: nightly
359
360
361
      - binary_linux_wheel:
          name: nightly_binary_linux_wheel_py3.7
          python_version: "3.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
362
363
364
          filters:
            branches:
              only: nightly
365
366
367
368
369
      - binary_wheel_upload:
          name: nightly_binary_linux_wheel_py3.7_upload
          context: org-member
          requires:
            - nightly_binary_linux_wheel_py3.7
Mingbo Wan's avatar
Mingbo Wan committed
370
371
372
373
374
      - smoke_test_linux_pip:
          name: nightly_binary_linux_wheel_py3.7_smoke_test_pip
          python_version: "3.7"
          requires:
            - nightly_binary_linux_wheel_py3.7_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
375
376
377
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
378
379
380
      - binary_macos_wheel:
          name: nightly_binary_macos_wheel_py2.7
          python_version: "2.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
381
382
383
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
384
385
386
387
388
      - binary_wheel_upload:
          name: nightly_binary_macos_wheel_py2.7_upload
          context: org-member
          requires:
            - nightly_binary_macos_wheel_py2.7
Edward Z. Yang's avatar
Edward Z. Yang committed
389
390
391
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
392
393
394
395
      - binary_macos_wheel:
          name: nightly_binary_macos_wheel_py2.7_unicode
          python_version: "2.7"
          unicode_abi: "1"
Edward Z. Yang's avatar
Edward Z. Yang committed
396
397
398
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
399
400
401
402
403
      - binary_wheel_upload:
          name: nightly_binary_macos_wheel_py2.7_unicode_upload
          context: org-member
          requires:
            - nightly_binary_macos_wheel_py2.7_unicode
Edward Z. Yang's avatar
Edward Z. Yang committed
404
405
406
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
407
408
409
      - binary_macos_wheel:
          name: nightly_binary_macos_wheel_py3.5
          python_version: "3.5"
Edward Z. Yang's avatar
Edward Z. Yang committed
410
411
412
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
413
414
415
416
417
      - binary_wheel_upload:
          name: nightly_binary_macos_wheel_py3.5_upload
          context: org-member
          requires:
            - nightly_binary_macos_wheel_py3.5
Edward Z. Yang's avatar
Edward Z. Yang committed
418
419
420
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
421
422
423
      - binary_macos_wheel:
          name: nightly_binary_macos_wheel_py3.6
          python_version: "3.6"
Edward Z. Yang's avatar
Edward Z. Yang committed
424
425
426
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
427
428
429
430
431
      - binary_wheel_upload:
          name: nightly_binary_macos_wheel_py3.6_upload
          context: org-member
          requires:
            - nightly_binary_macos_wheel_py3.6
Edward Z. Yang's avatar
Edward Z. Yang committed
432
433
434
          filters:
            branches:
              only: nightly
435
436
437
      - binary_macos_wheel:
          name: nightly_binary_macos_wheel_py3.7
          python_version: "3.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
438
439
440
          filters:
            branches:
              only: nightly
441
442
443
444
445
      - binary_wheel_upload:
          name: nightly_binary_macos_wheel_py3.7_upload
          context: org-member
          requires:
            - nightly_binary_macos_wheel_py3.7
Edward Z. Yang's avatar
Edward Z. Yang committed
446
447
448
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
449
450
451
      - binary_linux_conda:
          name: nightly_binary_linux_conda_py2.7
          python_version: "2.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
452
453
454
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
455
456
457
458
459
      - binary_conda_upload:
          name: nightly_binary_linux_conda_py2.7_upload
          context: org-member
          requires:
            - nightly_binary_linux_conda_py2.7
Edward Z. Yang's avatar
Edward Z. Yang committed
460
461
462
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
463
464
465
      - binary_linux_conda:
          name: nightly_binary_linux_conda_py3.5
          python_version: "3.5"
Edward Z. Yang's avatar
Edward Z. Yang committed
466
467
468
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
469
470
471
472
473
      - binary_conda_upload:
          name: nightly_binary_linux_conda_py3.5_upload
          context: org-member
          requires:
            - nightly_binary_linux_conda_py3.5
Mingbo Wan's avatar
Mingbo Wan committed
474
475
476
477
478
      - smoke_test_linux_conda:
          name: nightly_binary_linux_conda_py3.5_smoke_test_conda
          python_version: "3.5"
          requires:
            - nightly_binary_linux_conda_py3.5_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
479
480
481
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
482
483
484
      - binary_linux_conda:
          name: nightly_binary_linux_conda_py3.6
          python_version: "3.6"
Edward Z. Yang's avatar
Edward Z. Yang committed
485
486
487
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
488
489
490
491
492
      - binary_conda_upload:
          name: nightly_binary_linux_conda_py3.6_upload
          context: org-member
          requires:
            - nightly_binary_linux_conda_py3.6
Mingbo Wan's avatar
Mingbo Wan committed
493
494
495
496
497
      - smoke_test_linux_conda:
          name: nightly_binary_linux_conda_py3.6_smoke_test_conda
          python_version: "3.6"
          requires:
            - nightly_binary_linux_conda_py3.6_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
498
499
500
          filters:
            branches:
              only: nightly
501
502
503
      - binary_linux_conda:
          name: nightly_binary_linux_conda_py3.7
          python_version: "3.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
504
505
506
          filters:
            branches:
              only: nightly
507
508
509
510
511
      - binary_conda_upload:
          name: nightly_binary_linux_conda_py3.7_upload
          context: org-member
          requires:
            - nightly_binary_linux_conda_py3.7
Mingbo Wan's avatar
Mingbo Wan committed
512
513
514
515
516
      - smoke_test_linux_conda:
          name: nightly_binary_linux_conda_py3.7_smoke_test_conda
          python_version: "3.7"
          requires:
            - nightly_binary_linux_conda_py3.7_upload
Edward Z. Yang's avatar
Edward Z. Yang committed
517
518
519
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
520
521
522
      - binary_macos_conda:
          name: nightly_binary_macos_conda_py2.7
          python_version: "2.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
523
524
525
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
526
527
528
529
530
      - binary_conda_upload:
          name: nightly_binary_macos_conda_py2.7_upload
          context: org-member
          requires:
            - nightly_binary_macos_conda_py2.7
Edward Z. Yang's avatar
Edward Z. Yang committed
531
532
533
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
534
535
536
      - binary_macos_conda:
          name: nightly_binary_macos_conda_py3.5
          python_version: "3.5"
Edward Z. Yang's avatar
Edward Z. Yang committed
537
538
539
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
540
541
542
543
544
      - binary_conda_upload:
          name: nightly_binary_macos_conda_py3.5_upload
          context: org-member
          requires:
            - nightly_binary_macos_conda_py3.5
Edward Z. Yang's avatar
Edward Z. Yang committed
545
546
547
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
548
549
550
      - binary_macos_conda:
          name: nightly_binary_macos_conda_py3.6
          python_version: "3.6"
Edward Z. Yang's avatar
Edward Z. Yang committed
551
552
553
          filters:
            branches:
              only: nightly
Edward Z. Yang's avatar
Edward Z. Yang committed
554
555
556
557
      - binary_conda_upload:
          name: nightly_binary_macos_conda_py3.6_upload
          context: org-member
          requires:
558
            - nightly_binary_macos_conda_py3.6
Edward Z. Yang's avatar
Edward Z. Yang committed
559
560
561
          filters:
            branches:
              only: nightly
562
563
564
      - binary_macos_conda:
          name: nightly_binary_macos_conda_py3.7
          python_version: "3.7"
Edward Z. Yang's avatar
Edward Z. Yang committed
565
566
567
          filters:
            branches:
              only: nightly
568
569
570
571
      - binary_conda_upload:
          name: nightly_binary_macos_conda_py3.7_upload
          context: org-member
          requires:
Edward Z. Yang's avatar
Edward Z. Yang committed
572
573
574
            - nightly_binary_macos_conda_py3.7
          filters:
            branches:
Mingbo Wan's avatar
Mingbo Wan committed
575
576
577
578
579
580
581
582
583
584
585
              only: nightly
  docker_build:
    triggers:
      - schedule:
          cron: "0 10 * * 0"
          filters:
            branches:
              only:
                - master
    jobs:
      - docker_image_build