Skip to content

Commit

Permalink
Auto merge of #116450 - Kobzol:automation-try-bors-ci, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
Enable new bors try branch to run on CI

Needed to fix [this error](https://github.com/rust-lang/rust/actions/runs/6420044833/job/17431256956). Inspired by #99988

Also, removes `try-merge` from the workflow. It shouldn't have been added in #116353.

r? `@Mark-Simulacrum`
  • Loading branch information
bors committed Oct 8, 2023
2 parents e9addfd + 098dd97 commit fdf32ee
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ name: CI
- try
- try-perf
- automation/bors/try
- automation/bors/try-merge
- master
pull_request:
branches:
Expand Down
1 change: 0 additions & 1 deletion src/ci/github-actions/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,6 @@ on:
- try
- try-perf
- automation/bors/try
- automation/bors/try-merge
- master
pull_request:
branches:
Expand Down
3 changes: 2 additions & 1 deletion src/ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ source "$ci_dir/shared.sh"

export CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse

if ! isCI || isCiBranch auto || isCiBranch beta || isCiBranch try || isCiBranch try-perf; then
if ! isCI || isCiBranch auto || isCiBranch beta || isCiBranch try || isCiBranch try-perf || \
isCiBranch automation/bors/try; then
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.print-step-timings --enable-verbose-tests"
RUST_CONFIGURE_ARGS="$RUST_CONFIGURE_ARGS --set build.metrics"
HAS_METRICS=1
Expand Down
2 changes: 1 addition & 1 deletion src/ci/scripts/verify-channel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ IFS=$'\n\t'

source "$(cd "$(dirname "$0")" && pwd)/../shared.sh"

if isCiBranch auto || isCiBranch try || isCiBranch try-perf; then
if isCiBranch auto || isCiBranch try || isCiBranch try-perf || isCiBranch automation/bors/try; then
echo "channel verification is only executed on PR builds"
exit
fi
Expand Down

0 comments on commit fdf32ee

Please sign in to comment.