Commit Graph

87 Commits

Author SHA1 Message Date
Trevor Gross
44110875aa bench: Update pinned nightly to 2026-09-36
This is the last version before some performance regressions.
2026-10-11 02:13:43 -05:00
Trevor Gross
b44e1a2a2f ci: Increase timeout to 90 minutes
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.
2026-10-08 15:13:29 -05:00
Trevor Gross
546805f634 bench: Update pinned nightly to 2026-09-19 2026-10-08 07:49:25 -05:00
Mend Renovate
d3178535b0 ci: Update Github Actions 2026-10-08 06:50:48 -05:00
hashcatHitman
372e56b016 ci: Bump zizmorcore/zizmor-action to 0.6.4
See: https://github.com/zizmorcore/zizmor-action/releases/tag/v0.6.4

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
2026-10-08 03:31:22 -05:00
Ubiratan Soares
0605954bca ci: build armv7-gnueabihf with canonical runner 2026-09-28 23:20:54 -04:00
Trevor Gross
81265d53f1 ci: Temporarily disable the self-hosted s390x job
The time to run a full job (with libm) on this runner has blown up for
some reason and is hitting the one hour timeout, e.g. [1]. This hasn't
gone away over a few days, so disable it for now.

[1]: https://github.com/rust-lang/compiler-builtins/actions/runs/36393334638/job/109084625496?pr=1326
2026-09-28 16:38:58 -04:00
Dario Nieuwenhuis
886402250d CI: Add job for thumbv7neon-unknown-linux-gnueabihf
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.
2026-09-10 17:34:24 -04:00
Trevor Gross
6414f1c88f ci: Switch i686-pc-windows-gnu to a 64-bit host and re-enable
This target was downgraded to Tier 2 without host tools [1].

Closes: https://github.com/rust-lang/compiler-builtins/issues/1306

[1]: https://github.com/rust-lang/compiler-team/issues/1020
2026-09-01 14:38:41 -05:00
Trevor Gross
a657aeefee ci: Rename channel to host_toolchain 2026-09-01 14:38:41 -05:00
Trevor Gross
7b98255ea3 ci: Disable the i686-pc-windows-gnu job
There doesn't seem to be a straightforward way to build and test this
target anymore. Disable it for now since CI is broken.

Link: https://github.com/rust-lang/compiler-builtins/issues/1306
2026-08-31 00:19:32 -05:00
MarcoIeni
1e4d3fddd5 ci: build and test with s390x-resolute runner
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.
2026-08-26 01:36:40 -05:00
Aelin Reidel
467cc0c3db ci: Disable install-action fallback for nextest
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.
2026-08-25 01:29:12 -06:00
Nicholas Bishop
20da4a39cf Revert "ci: Add a patch for compiler-rt execstack"
This reverts commit 4feca6f3e62151f5cedacf3a5877b6200fb5af43.

The patch has landed in the 23.1-2026-07-22 branch.
2026-08-24 15:05:24 -06:00
Trevor Gross
c49aa70e57 bench: Update pinned nightly to 2026-08-19
Some PRs want to make use of newer features.
2026-08-20 04:17:06 -05:00
Trevor Gross
482100de49 bench: Update pinned nightly to 2026-08-06
This is the first version with LLVM23.
2026-08-17 05:41:49 -04:00
Trevor Gross
d03ac90d3d ci: Set -Dlinker_messages
Since 1.97, linker warnings can be denied via rustc.
2026-08-17 05:22:42 -04:00
Trevor Gross
ca1a7c0004 ci: Increase the timeout of MSRV builds
The git registry now takes long enough to download that the 10 minute
timeout is hit.
2026-08-17 03:51:22 -04:00
Trevor Gross
c2a81bf148 ci: Enable CARGO_TERM_VERBOSE 2026-08-17 03:51:22 -04:00
Trevor Gross
5a9a6d821b ci: Move dependency installs to a separate script 2026-08-17 03:51:22 -04:00
Trevor Gross
8ac764fb44 ci: Update runner images
Update Ubuntu from 24.04 to 26.04, MacOS from 15 to 26, and Windows from
the default (vs2022) to vs2026.
2026-08-12 16:14:31 -04:00
Mend Renovate
6ff2b4c0af chore(deps): update github actions 2026-08-10 04:24:03 -04:00
Mend Renovate
1240306ac8 chore(deps): update github actions 2026-08-10 04:10:03 -04:00
Trevor Gross
a7ff24e065 bench: Update pinned nightly to 2026-08-05
One version before the LLVM update.
2026-08-07 12:33:54 -04:00
Trevor Gross
5c794c582d bench: Update pinned nightly to 2026-05-24
2026-05-23 to 2026-05-24 includes a regression on aarch64, but this
seems to be in the setup code rather than the math code.

Link: https://github.com/rust-lang/rust/issues/160702
2026-08-07 10:25:38 -04:00
Trevor Gross
c425a4752c bench: Update pinned nightly to 2026-05-23
Advance to after the first regression in `hypot` but before the second
regression. See [1] for context on `hypot`.

[1]: https://github.com/rust-lang/compiler-builtins/issues/1249
2026-08-07 05:19:52 -04:00
Trevor Gross
78a4a56db2 ci: Add a patch for compiler-rt execstack
Pull in a patch that landed just recently but hasn't yet been
backported. Without it, symcheck fails.

Link: https://github.com/llvm/llvm-project/pull/214465
2026-08-07 00:15:07 -05:00
Trevor Gross
684f4245b1 ci: Always run with bash -eux by default 2026-07-08 23:50:18 -04:00
Aelin Reidel
f8f9c8ddff ci: Run powerpc64-unknown-linux-musl on selfhosted runner 2026-06-23 13:33:13 -04:00
Mend Renovate
874a158e03 chore(deps): update github actions 2026-06-10 22:09:32 -05:00
Aelin Reidel
628b0b9a50 Upgrade taiki-e/install-action to 2.79.8
This release includes support for ppc64.
2026-05-26 21:51:58 -05:00
Trevor Gross
3af9faa6cd test: Move tidy_lists from update-api-list.py to a new crate
This is the first step of migrating `update-api-list.py` to something
that handles the compiler-builtins functions.
2026-04-10 06:30:25 -04:00
Trevor Gross
cea20e0e61 ci: Increase the timeout for benchmark jobs to 30 minutes
The i686 job has sometimes hit the existing 20 minute limit when things
take an extra long time to download.
2026-04-07 08:44:34 -04:00
Trevor Gross
2f57167feb Revert "ci: Don't re-archive the tar.xz benchmark baseline"
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.
2026-04-01 16:45:54 -04:00
Trevor Gross
fc47fbcf51 ci: Don't re-archive the tar.xz benchmark baseline
The new version of `actions/upload-artifact` allows for skipping the
automatic file zipping, which is good because our files are already
compressed.
2026-04-01 09:04:29 -04:00
Mend Renovate
d89fb1df02 chore(deps): update github actions 2026-04-01 06:14:11 -04:00
Mend Renovate
9c41dadd30 chore(deps): update actions/upload-artifact action to v7 2026-04-01 06:10:47 -04:00
Trevor Gross
3975322675 build: Print build config if LIBM_BUILD_VERBOSE is set
Make it easier to see what is being enabled without enabling Cargo's
`-vv` output.
2026-04-01 04:51:47 -04:00
Trevor Gross
0f19a2db1a ci: Temporarily disable the RISC-V runners
There are a limited amount of runners for these jobs, which is causing a
slow point in CI. Once more runners are available we can re-enable the
job.
2026-03-31 19:29:48 -04:00
Trevor Gross
6dc3b2680c ci: Remove wall time benchmarks from CI
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.
2026-03-27 20:32:21 -04:00
Trevor Gross
d7f20a9267 ci: Add benchmarks for i686
This is one arch that is reasonably easy to set up without native
runners, and gives us an idea of how the crates do on 32-bit platforms.
2026-03-27 20:32:21 -04:00
Trevor Gross
5ac939394a ci: Move matrix.os comparisons to an environment variable 2026-03-24 00:40:41 -04:00
vimer
ca309a4015 ci: Test on riscv64 using a self-hosted runner
Closes: https://github.com/rust-lang/compiler-builtins/issues/1054
2026-03-23 11:54:58 -05:00
Bo YU
43b30e82bc ci: update nextest to 0.9.131 with install-action 2026-03-23 12:05:11 -04:00
Trevor Gross
41a6f3e24e ci: Resolve audit issues reported by zizmore
Resolve two cases of `ref-version-mismatch` and various `artipacked`
instances.
2026-03-17 11:09:56 -04:00
Bo YU
741b5e93cd Add zizmor to check Github Actions (static analysis) 2026-03-17 10:26:19 -04:00
Trevor Gross
51eea03cf8 ci: Resolve audit issues reported by zizmore
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.
2026-03-17 10:22:00 -04:00
Trevor Gross
d723253b19 Revert "ci: Pin Miri to the 2026-02-11 nightly"
The described issue in the reverted commit is no longer relevant.

This reverts commit 870ab266bad7ec0a56abfc433f92e3c2d67a572c.
2026-03-16 14:11:58 -05:00
Trevor Gross
7463a85ad0 ci: Bump all actions to latest 2026-03-15 17:30:46 -05:00
Trevor Gross
706a3ab68e meta: Move the Criterion dependency behind a walltime feature
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?".
2026-02-13 17:47:29 -06:00