Skip to content

Commit 2b39199

Browse files
committed
Auto merge of #119760 - matthiaskrgr:rollup-ti2xpp7, r=matthiaskrgr
Rollup of 7 pull requests Successful merges: - #117744 (Add -Zuse-sync-unwind) - #118649 (Make inductive cycles in coherence ambiguous always) - #118979 (Use `assert_unsafe_precondition` for `char::from_u32_unchecked`) - #119619 (mir-opt and custom target fixes) - #119632 (Fix broken build for ESP IDF due to #119026) - #119712 (Adding alignment to the cases to test for specific error messages.) - #119734 (Miri subtree update) r? `@ghost` `@rustbot` modify labels: rollup
2 parents 192cf3b + c1b9492 commit 2b39199

File tree

20 files changed

+861
-551
lines changed

20 files changed

+861
-551
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
cargo -V
7474
7575
- name: Test
76-
run: ./ci.sh
76+
run: ./ci/ci.sh
7777

7878
style:
7979
name: style checks
@@ -169,7 +169,7 @@ jobs:
169169
--message 'Dear @*T-miri*,
170170
171171
It would appear that the [Miri cron job build]('"https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"') failed.
172-
172+
173173
This likely means that rustc changed the miri directory and
174174
we now need to do a [`./miri rustc-pull`](https://github.com/rust-lang/miri/blob/master/CONTRIBUTING.md#importing-changes-from-the-rustc-repo).
175175

.github/workflows/sysroots.yml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Tier 2 sysroots
2+
3+
on: push
4+
# schedule:
5+
# - cron: '44 4 * * *' # At 4:44 UTC every day.
6+
7+
defaults:
8+
run:
9+
shell: bash
10+
11+
jobs:
12+
sysroots:
13+
name: Build the sysroots
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- name: Build the sysroots
18+
run: |
19+
cargo install -f rustup-toolchain-install-master
20+
./miri toolchain -c rust-docs # Docs are the only place targets are separated by tier
21+
./miri install
22+
python3 -m pip install beautifulsoup4
23+
./ci/build-all-targets.sh
24+
25+
sysroots-cron-fail-notify:
26+
name: sysroots cronjob failure notification
27+
runs-on: ubuntu-latest
28+
needs: [sysroots]
29+
if: failure() || cancelled()
30+
steps:
31+
# Send a Zulip notification
32+
- name: Install zulip-send
33+
run: pip3 install zulip
34+
- name: Send Zulip notification
35+
env:
36+
ZULIP_BOT_EMAIL: ${{ secrets.ZULIP_BOT_EMAIL }}
37+
ZULIP_API_TOKEN: ${{ secrets.ZULIP_API_TOKEN }}
38+
run: |
39+
~/.local/bin/zulip-send --user $ZULIP_BOT_EMAIL --api-key $ZULIP_API_TOKEN --site https://rust-lang.zulipchat.com \
40+
--stream miri --subject "Cron Job Failure (miri, $(date -u +%Y-%m))" \
41+
--message 'Dear @*T-miri*,
42+
43+
It would appear that the [Miri sysroots cron job build]('"https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"') failed.
44+
45+
Would you mind investigating this issue?
46+
47+
Thanks in advance!
48+
Sincerely,
49+
The Miri Cronjobs Bot'

0 commit comments

Comments
 (0)