If we get a slow runner then runtime gets very close to the one hour
limit. Hopefully this doesn't happen often, but it's better to tolerate
the occasional slow job than to need to rerun.
Previously CI would only run tests for ARM mode, Thumb mode targets were
compile-only. This ensures Thumb2 is covered. Thumb1 is still not
covered, but that's less easy since there's no Linux Thumb1 target.
This commit fixes some places that assume "thumb" means "bare metal".
They now check for `target_os = "none"` instead.
We'd like to this add new `s390x` runner to `compiler-builtins`.
This new runner is provided by Canonical. After some iteration alongside
with Canonical folks, the `large` runner offers hardware spec similar to
the existing s390x provided by IBM and [delivers similar build
times](https://github.com/rust-lang/compiler-builtins/actions/runs/31516313575/job/93862267593?pr=1227).
Moreover, it runs on ubuntu-26.04 rather than ubuntu-24.04, and it
features a Github integration more friendly to `t-infra`, since the
related Github App requires less permissions to run.
We don't need to remove the s390x IBM runners right now. We propose
having both s390x runners running side by side for a while and circle
back after a few PRs, sticking with the Canonical one afterwards if
everything goes well.
This should make it fall back to a system-wide cargo-nextest install or
running the tests without nextest, which is probably still faster than
building nextest from source.
Unfortunately the `gh` CLI tool can't yet download non-zipped archives.
Attempting to do so says:
error downloading baseline-icount-i686-202604011355-ba4c48868cad.tar.xz: error extracting zip archive: zip: not a valid zip file
Drop this change until the CLI is updated.
This reverts commit 0a57b9e3eda70c3673815fc47fad137a3c62da98.
The icount benchmarks are significantly more reliable, and I don't think
these results get looked at too much. They can be run locally if needed,
so save the CI time here.
Resolve the following lints:
* `unpinned-uses`: Pin action versions using `zizmor --fix`
* `excessive-permissions`: Add `permissions: {}` to all workflows
* `template-injection`: This one wasn't too concerning since `${{ ...
}}` was only used for `matrix` and `needs` access, but it is easy
enough to resolve by storing in an environment variable.
Currently Criterion is always built with the test crates, but it doesn't
really need to be. It wasn't a problem before but did start showing up
with the latest version bump since it added a C dependency, and for the
Miri CI runs we don't have the C toolchains. To resolve this and speed
up compilation time, move criterion behind a new feature `walltime`.
I'd rather have named this `runtime` but don't want to confuse my future
self with "what runtime?".