-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #113151 - RalfJung:miri, r=RalfJung,oli-obk
update Miri r? `@ghost`
- Loading branch information
Showing
206 changed files
with
3,206 additions
and
474 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
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 |
---|---|---|
|
@@ -156,13 +156,13 @@ jobs: | |
- name: mark the job as a failure | ||
run: exit 1 | ||
|
||
# Send a Zulip notification when a cron job fails | ||
cron-fail-notify: | ||
name: cronjob failure notification | ||
runs-on: ubuntu-latest | ||
needs: [build, style] | ||
if: github.event_name == 'schedule' && (failure() || cancelled()) | ||
steps: | ||
# Send a Zulip notification | ||
- name: Install zulip-send | ||
run: pip3 install zulip | ||
- name: Send Zulip notification | ||
|
@@ -185,3 +185,27 @@ jobs: | |
Sincerely, | ||
The Miri Cronjobs Bot' \ | ||
--user $ZULIP_BOT_EMAIL --api-key $ZULIP_API_TOKEN --site https://rust-lang.zulipchat.com | ||
# Attempt to auto-sync with rustc | ||
- name: install josh-proxy | ||
run: cargo +stable install josh-proxy --git https://github.com/josh-project/josh --tag r22.12.06 | ||
- name: start josh-proxy | ||
run: josh-proxy --local=$HOME/.cache/josh --remote=https://github.com --no-background & | ||
- name: setup bot git name and email | ||
run: | | ||
git config --global user.name 'The Miri Conjob Bot' | ||
git config --global user.email '[email protected]' | ||
- name: get changes from rustc | ||
run: ./miri rustc-pull | ||
- name: format changes (if any) | ||
run: | | ||
./miri toolchain | ||
./miri fmt --check || (./miri fmt && git commit -am "fmt") | ||
- name: Push changes to a branch | ||
run: | | ||
git switch -c "rustup$(date -u +%Y-%m)" | ||
git push | ||
- name: Create Pull Request | ||
run: gh pr create -B master --title 'Automatic sync from rustc' --body '' | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
33c3d101280c8eb3cd8af421bfb56a8afcc3881d | ||
75726cae37317c7262b69d3e9fd11a3496a88d04 |
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
Oops, something went wrong.