Skip to content

Commit

Permalink
.circleci: set versions, set upload_channel (#114)
Browse files Browse the repository at this point in the history
Release branch specific changes

Signed-off-by: Eli Uriegas <[email protected]>
  • Loading branch information
seemethere authored Feb 26, 2021
1 parent f6e7750 commit 70caaf8
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ commands:
- run:
name: adding UPLOAD_CHANNEL to BASH_ENV
command: |
our_upload_channel=nightly
# On tags upload to test instead
if [[ -n "${CIRCLE_TAG}" ]]; then
our_upload_channel=test
fi
our_upload_channel="test"
echo "export UPLOAD_CHANNEL=${our_upload_channel}" >> ${BASH_ENV}
binary_common: &binary_common
Expand All @@ -48,11 +44,11 @@ binary_common: &binary_common
build_version:
description: "version number of release binary; by default, build a nightly"
type: string
default: ""
default: "0.2.0"
pytorch_version:
description: "PyTorch version to build against; by default, use a nightly"
type: string
default: ""
default: "1.8.0"
# Don't edit these
python_version:
description: "Python version to build against (e.g., 3.7)"
Expand Down Expand Up @@ -83,6 +79,7 @@ jobs:
resource_class: 2xlarge+
steps:
- checkout_merge
- designate_upload_channel
- run: packaging/build_wheel.sh
- store_artifacts:
path: dist
Expand All @@ -98,6 +95,7 @@ jobs:
resource_class: 2xlarge+
steps:
- checkout_merge
- designate_upload_channel
- run:
no_output_timeout: 20m
command: packaging/build_conda.sh
Expand All @@ -115,6 +113,7 @@ jobs:
executor: windows-cpu
steps:
- checkout_merge
- designate_upload_channel
- run:
name: Build conda packages
no_output_timeout: 20m
Expand All @@ -141,6 +140,7 @@ jobs:
executor: windows-cpu
steps:
- checkout_merge
- designate_upload_channel
- run:
name: Build wheel packages
command: |
Expand All @@ -163,6 +163,7 @@ jobs:
xcode: "9.4.1"
steps:
- checkout_merge
- designate_upload_channel
# - run:
# name: Install libomp
# command: HOMEBREW_NO_AUTO_UPDATE=1 brew install libomp
Expand All @@ -189,6 +190,7 @@ jobs:
xcode: "9.4.1"
steps:
- checkout_merge
- designate_upload_channel
# - run:
# name: Install libomp
# command: HOMEBREW_NO_AUTO_UPDATE=1 brew install libomp
Expand Down

0 comments on commit 70caaf8

Please sign in to comment.