Skip to content

cc ci: parallelize ctest runs in GitHub CI#1278

Closed
Anton3 wants to merge 7 commits into
userver-framework:developfrom
Anton3:ctest-j-2
Closed

cc ci: parallelize ctest runs in GitHub CI#1278
Anton3 wants to merge 7 commits into
userver-framework:developfrom
Anton3:ctest-j-2

Conversation

@Anton3

@Anton3 Anton3 commented Jun 29, 2026

Copy link
Copy Markdown
Member

Run ctest with -j2 --output-on-failure and merge the per-library test steps into a single ctest invocation.


Note: by creating a PR or an issue you automatically agree to the CLA. See CONTRIBUTING.md. Feel free to remove this note, the agreement holds.

@Anton3 Anton3 changed the title ci: parallelize ctest runs in GitHub CI cc ci: parallelize ctest runs in GitHub CI Jun 29, 2026
Anton3 and others added 7 commits June 30, 2026 22:47
Run ctest with -j2 --output-on-failure and merge the per-library test
steps into a single ctest invocation.

Co-authored-by: Cursor <cursoragent@cursor.com>
Avoids ephemeral-port/socket-buffer exhaustion (EADDRNOTAVAIL/ENOBUFS)
that surfaced when running everything in one parallel ctest, and filters
out tests that are broken or were never run on macOS.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
mongo (no working mongod), samples mysql (no mariadb-server),
websocket_client (curl without ws scheme), and the clang-18
compile-fail test are not runnable on the GitHub runner.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@Anton3 Anton3 closed this Jul 1, 2026
@Anton3 Anton3 deleted the ctest-j-2 branch July 1, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant