Skip to content

Conversation

@rnro
Copy link
Contributor

@rnro rnro commented Oct 31, 2025

Generate matrix script finds manifests in subdirs

Motivation:

The genereate matrix script attempts to derive the minimum Swift version
supported by the package so that it doesn't run CI on versions which are
older than that supported. At the moment it can't cope with repositories
with packages in subdirectories like swift-nio-examples.

Modifications:

The script looks for manifests in subdirectories if FIND_SUBDIRECTORY_MANIFESTS_ENABLED=true. This is opt-in because by default CI only uses the top-level manifests.

Result:

CI should generate more appropriate jobs.

An example of this in action https://github.com/apple/swift-nio/actions/runs/18968739126/job/54171197381?pr=3431

rnro added 2 commits October 31, 2025 09:42
Motivation:

The genereate matrix script attempts to derive the minimum Swift version
supported by the package so that it doesn't run CI on versions which are
older than that supported. At the moment it can't cope with repositories
with packages in subdirectories like swift-nio-examples.

Modifications:

The script looks for manifests in subdirectories.

Result:

CI should generate more appropriate jobs.
@rnro rnro force-pushed the generate_matrix_nested_manifests branch from cb72936 to 08a67fb Compare October 31, 2025 09:43
@rnro rnro added the semver/none No version bump required. label Oct 31, 2025
This reverts commit 08a67fb.
@rnro rnro marked this pull request as ready for review October 31, 2025 09:48
@rnro rnro enabled auto-merge (squash) October 31, 2025 09:48
@rnro rnro merged commit fa91d79 into main Oct 31, 2025
51 of 53 checks passed
@rnro rnro deleted the generate_matrix_nested_manifests branch October 31, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

semver/none No version bump required.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants