src/tools/miri/.github/workflows/sysroots.yml YAML 64 lines View on github.com → Search inside
1name: Tier 2 sysroots23on:4  schedule:5    - cron: '44 4 * * *' # At 4:44 UTC every day.67defaults:8  run:9    shell: bash1011jobs:12  sysroots:13    name: Build the sysroots14    runs-on: ubuntu-latest15    steps:16      - uses: actions/checkout@v617      - name: Build the sysroots18        run: |19          rustup toolchain install nightly20          cargo install -f rustup-toolchain-install-master21          ./miri toolchain -c rust-docs # Docs are the only place targets are separated by tier22          ./miri install23          python3 -m pip install beautifulsoup424          ./ci/build-all-targets.sh25      - name: Upload build errors26        # We don't want to skip this step on failure27        if: always()28        uses: actions/upload-artifact@v729        with:30          name: failures31          path: failures.tar.gz3233  sysroots-cron-fail-notify:34    name: sysroots cronjob failure notification35    runs-on: ubuntu-latest36    needs: [sysroots]37    if: failure() || cancelled()38    steps:39      # Download our build error logs40      - name: Download build errors41        uses: actions/download-artifact@v842        with:43          name: failures44      # Send a Zulip notification45      - name: Install zulip-send46        run: pip3 install zulip47      - name: Send Zulip notification48        env:49          ZULIP_BOT_EMAIL: ${{ secrets.ZULIP_BOT_EMAIL }}50          ZULIP_API_TOKEN: ${{ secrets.ZULIP_API_TOKEN }}51        run: |52          tar xf failures.tar.gz53          ls failures54          ~/.local/bin/zulip-send --user $ZULIP_BOT_EMAIL --api-key $ZULIP_API_TOKEN --site https://rust-lang.zulipchat.com \55            --stream miri --subject "Sysroot Build Errors ($(date -u +%Y-%m))" \56            --message 'It would appear that the [Miri sysroots cron job build]('"https://github.com/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID"') failed to build these targets:57          '"$(ls failures)"'5859          Would you mind investigating this issue?6061          Thanks in advance!62          Sincerely,63          The Miri Cronjobs Bot'

Findings

✓ No findings reported for this file.

Get this view in your editor

Same data, no extra tab — call code_get_file + code_get_findings over MCP from Claude/Cursor/Copilot.