forked from facebookresearch/ReAgent
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Pull Request resolved: facebookresearch#167 Differential Revision: D17943315 Pulled By: kittipatv fbshipit-source-id: 1dff954dc821bc33e62fd6dafac8460d08c2b930
- Loading branch information
1 parent
8dba757
commit d9f654a
Showing
4 changed files
with
52 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
version: 2.1 | ||
|
||
# How to test the Linux jobs: | ||
# - Install CircleCI local CLI: https://circleci.com/docs/2.0/local-cli/ | ||
# - circleci config process .circleci/config.yml > gen.yml && circleci local execute -c gen.yml --job binary_linux_conda_py3.7_cpu | ||
# - Replace binary_linux_conda_py3.7_cpu with the name of the job you want to test. | ||
# Job names are 'name:' key. | ||
|
||
commands: | ||
checkout_merge: | ||
description: "checkout merge branch" | ||
steps: | ||
- checkout | ||
- run: | ||
name: Checkout merge branch | ||
command: | | ||
set -ex | ||
BRANCH=$(git rev-parse --abbrev-ref HEAD) | ||
if [[ "$BRANCH" != "master" ]]; then | ||
git merge origin/master | ||
fi | ||
binary_common: &binary_common | ||
parameters: | ||
docker_image: | ||
description: "Docker image" | ||
type: string | ||
environment: | ||
DOCKER_IMAGE: << parameters.docker_image >> | ||
|
||
jobs: | ||
binary_linux_conda: | ||
<<: *binary_common | ||
docker: | ||
- image: << parameters.docker_image >> | ||
resource_class: gpu.medium | ||
steps: | ||
- checkout_merge | ||
- run: .jenkins/build.sh | ||
|
||
workflows: | ||
build: | ||
jobs: | ||
- binary_linux_conda: | ||
name: binary_linux_conda_py3.7_cpu | ||
docker_image: kittipatv/reagent:cpu | ||
- binary_linux_conda: | ||
name: binary_linux_conda_py3.7_cu92 | ||
docker_image: kittipatv/reagent:cuda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters