Skip to content

Split the Visual Studio 2019 AppVeyor job into two shards - #5872

Merged
nlohmann merged 1 commit into
developfrom
ci/shard-vs2019-appveyor
Oct 21, 2026
Merged

nlohmann merged 1 commit into
developfrom
ci/shard-vs2019-appveyor

Conversation

@nlohmann

Copy link
Copy Markdown
Owner

The AppVeyor job for Visual Studio 2019 (Release, x86, -DJSON_ImplicitConversions=OFF) builds the unit tests for all C++ standards. When it passes, it takes 49 to 57 minutes, which is close to AppVeyor's 60-minute limit per job. In three recent builds it was stopped at that limit while still compiling ("Build execution time has reached the maximum allowed time for your plan (60 minutes)"):

None of those PRs touched anything that job uses.

This PR splits the job into two shards with JSON_TestShard=0/2 and 1/2, as the Visual Studio 2017 jobs already do. AppVeyor builds PRs from the merge commit with develop, so once this is merged, every open PR gets the split without a rebase.

Breaking changes

No breaking changes. Only the AppVeyor CI configuration changes.

Written by Claude Code on behalf of @nlohmann.

🤖 Generated with Claude Code

The Visual Studio 2019 job (Release, x86, JSON_ImplicitConversions=OFF)
builds the tests for all standards and takes 49 to 57 minutes when it
passes, close to AppVeyor's 60-minute limit per job. In build 54917118
(#5867), build 54917312 (#5620), and build 54930878 (#5851) it was
stopped at the limit while still compiling. Split it with JSON_TestShard
like the Visual Studio 2017 jobs.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
@nlohmann nlohmann added this to the Release 3.13.0 milestone Oct 21, 2026
@nlohmann
nlohmann merged commit ef3d350 into develop Oct 21, 2026
170 checks passed
@nlohmann
nlohmann deleted the ci/shard-vs2019-appveyor branch October 21, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant