40 Commits
Author SHA1 Message Date
9be565330f CI: Add an affected-tests tier between smoke and all-tests
libeigen/eigen!2756

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
Co-authored-by: Rasmus Munk Larsen <rlarsen@nvidia.com>
2026-08-20 15:45:06 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen d5d9cb636f CI: Skip the GPU module in the clang-tidy job
libeigen/eigen!2877

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-08-19 21:29:17 -07:00
09401d580f CI: Check each changed source once with clang-tidy
libeigen/eigen!2870

Co-authored-by: Rasmus Munk Larsen <rlarsen@nvidia.com>
Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-08-19 13:30:23 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 18f650509b CMake: Ground the documented CMake behavior in tests
libeigen/eigen!2861

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-08-18 19:02:52 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 19e57e021e CI: Skip tests whose binaries already passed in earlier MR pipelines
libeigen/eigen!2798

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-08-15 23:01:53 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 8fdb9a609a CI: Find Visual Studio Build Tools installs with vswhere -products *
libeigen/eigen!2823

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-08-15 20:33:46 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 996e56744a CI: Extend the ccache build cache to the Windows runners
libeigen/eigen!2794

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-08-13 18:29:37 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 814ce243ea Scripts: Check added lines with clang-tidy plus an advisory style script
libeigen/eigen!2775

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-08-13 12:58:35 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 2ea3e71ee0 CI: Replace the never-hitting build-directory cache with ccache
libeigen/eigen!2787

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-08-12 19:25:07 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 2ba4d0070d CI: Deepen the build batch queue so barriers stop idling the runners
libeigen/eigen!2767

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-08-11 10:10:47 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen bca9175127 ci: absorb SME emulation timing swings
libeigen/eigen!2709

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-07-11 11:50:26 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 35b0428f55 CI: only batch-build single-target jobs; build target lists directly
libeigen/eigen!2677

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-07-05 13:05:26 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 8f457d1d08 CI: simplify config — shared rule sets, qemu test base, dead-file removal
libeigen/eigen!2554

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-05-17 09:52:51 -07:00
Charles Schlosser 6f9c2abf31 CI: add pre-configured smoke test container images to speed up pipelines
libeigen/eigen!2515
2026-05-08 22:38:03 +00:00
Rasmus Munk LarsenandRasmus Munk Larsen ff85966fba CI: install xsltproc in before_script, drop apt-get from after_script
libeigen/eigen!2516

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-05-04 21:16:06 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen b955000c16 CI/clang-tidy: fix latent issues surfaced when running on many headers
libeigen/eigen!2511

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-05-03 17:55:44 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 8a3d61c790 Licensing: SPDX identifiers, REUSE.toml, and checkformat:reuse CI job
libeigen/eigen!2509

Closes #2868

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-05-04 00:36:12 +00:00
Rasmus Munk LarsenandRasmus Munk Larsen d6f25aa75e ci: pass compiler vars to google/benchmark cmake invocation
libeigen/eigen!2500

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-05-02 07:52:37 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 118ea02645 CI: Fix Windows ctest retry to only rerun failing tests
libeigen/eigen!2430

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-04-11 22:32:30 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 19ddcbfb80 Revert CI cmake cache skip optimization
libeigen/eigen!2429

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-04-11 15:48:28 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 822b6e8136 CI: Touch build.ninja after cache hit to prevent ninja re-running cmake
libeigen/eigen!2428

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-04-11 13:56:49 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen a29e203efd CI: Skip cmake reconfigure on Linux when cached build dir is valid
libeigen/eigen!2427

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-04-11 13:27:55 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 2a83d7800a CI: Use -O2 for AVX512-FP16 jobs to work around GCC codegen bug
libeigen/eigen!2424

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-04-11 10:21:33 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 6a07970d7d CI: split NVHPC build and make fallback parallelism configurable
libeigen/eigen!2372

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-04-01 16:43:33 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 4be66f2830 CI: fail test jobs when no tests are found (--no-tests=error)
libeigen/eigen!2373

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-04-01 12:50:54 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 1df89cbc21 Right-size CI runners to reduce waste and shuffle build order to avoid OOM
libeigen/eigen!2367

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-03-31 19:10:34 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 409296d91d Add nightly benchmark regression detection pipeline
libeigen/eigen!2349

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-03-29 16:03:56 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 49a137ca24 CI: limit NVHPC build parallelism to avoid OOM kills
libeigen/eigen!2353

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-03-28 16:10:04 -07:00
Pavel Guzenfeld 90ca5bfd9a Strip lapacke.h to only the declarations used by Eigen
libeigen/eigen!2322

Closes #2851
2026-03-27 20:16:46 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 1726a92900 CI: Reduce artifact size, cache clang-tidy, fix test retry, throttle QEMU
libeigen/eigen!2305

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-03-17 21:41:29 -07:00
Rasmus Munk LarsenandRasmus Munk Larsen 064d686c57 Remove CXX11/ directory nesting for Tensor modules
libeigen/eigen!2199

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-02-26 07:03:38 -08:00
Rasmus Munk LarsenandRasmus Munk Larsen 00cc497d32 Add clang-tidy, codespell, and sanitizer checks to CI pipeline
libeigen/eigen!2178

Co-authored-by: Rasmus Munk Larsen <rmlarsen@gmail.com>
2026-02-23 19:43:45 -08:00
Charles Schlosser 40da5b64ce CI enhancements: visual indication of flaky tests
<!-- 
Thanks for contributing a merge request! Please name and fully describe your MR as you would for a commit message.
If the MR fixes an issue, please include "Fixes #issue" in the commit message and the MR description.

In addition, we recommend that first-time contributors read our [contribution guidelines](https://eigen.tuxfamily.org/index.php?title=Contributing_to_Eigen) and [git page](https://eigen.tuxfamily.org/index.php?title=Git), which will help you submit a more standardized MR.

Before submitting the MR, you also need to complete the following checks:
- Make one PR per feature/bugfix (don't mix multiple changes into one PR). Avoid committing unrelated changes.
- Rebase before committing
- For code changes, run the test suite (at least the tests that are likely affected by the change).
  See our [test guidelines](https://eigen.tuxfamily.org/index.php?title=Tests).
- If possible, add a test (both for bug-fixes as well as new features)
- Make sure new features are documented

Note that we are a team of volunteers; we appreciate your patience during the review process.

Again, thanks for contributing! -->

### Reference issue
<!-- You can link to a specific issue using the gitlab syntax #<issue number>  -->

### What does this implement/fix?
<!--Please explain your changes.-->

Currently, we run each test 3 times to account for flaky tests. Sometimes, the test fails so quickly that the random seed is the same for the subsequent test, which fails the exact same way. 

This MR uses a nanosecond seed which resolves the issue described above. Now, if the test does not pass on the first attempt but passes on the retries, the gitlab job status will be yellow but still be treated as a pass in the ci/cd pipeline. Hopefully, this means we will get more passes and help us identify room for improvement.

### Additional information
<!--Any additional information you think is important.-->

See merge request libeigen/eigen!2025
2025-10-22 04:51:51 +00:00
Hans Johnson 2e5447e620 STYLE: Scripts with shebang should be executable 2025-09-28 06:38:59 +00:00
Antonio Sánchez 715deac188 Add EIGEN_CI_CTEST_ARGS to allow for custom timeout. 2025-02-06 21:32:38 +00:00
Antonio Sánchez 3ebe898b5f Build and deploy nightly docs. 2025-02-05 00:35:34 +00:00
Charles Schlosser 7bb23b1e36 CI: don't add ToolChain PPA 2024-12-31 14:04:01 +00:00
Mike Taves c593e9e948 Fix typos 2024-08-02 00:06:24 +00:00
Antonio Sánchez 2265242aa1 Update CI scripts. 2024-04-20 01:08:19 +00:00
Antonio Sánchez 34fd46a9b4 Update CI with testing framework from eigen_ci_cross_testing. 2024-01-19 17:55:09 +00:00