conda timeout in CI

Summary: Conda build command can be very slow at resolving dependencies with PyTorch 1.8. I extended the timeout for this in the tests. Here do the same for the builds.

Reviewed By: patricklabatut

Differential Revision: D29131188

fbshipit-source-id: 554e694f0f8aa7509141016720b1e9019177b214
This commit is contained in:
Jeremy Reizenstein 2021-06-21 07:23:52 -07:00 committed by Facebook GitHub Bot
parent 354a1808ff
commit 9c09c0d316
2 changed files with 8 additions and 2 deletions

View File

@ -122,7 +122,10 @@ jobs:
- checkout
# This is building with cuda but no gpu present,
# so we aren't running the tests.
- run: MAX_JOBS=15 TEST_FLAG=--no-test packaging/build_conda.sh
- run:
name: build
no_output_timeout: 20m
command: MAX_JOBS=15 TEST_FLAG=--no-test packaging/build_conda.sh
- store_artifacts:
path: /opt/conda/conda-bld/linux-64
- persist_to_workspace:

View File

@ -122,7 +122,10 @@ jobs:
- checkout
# This is building with cuda but no gpu present,
# so we aren't running the tests.
- run: MAX_JOBS=15 TEST_FLAG=--no-test packaging/build_conda.sh
- run:
name: build
no_output_timeout: 20m
command: MAX_JOBS=15 TEST_FLAG=--no-test packaging/build_conda.sh
- store_artifacts:
path: /opt/conda/conda-bld/linux-64
- persist_to_workspace: