Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GHA] Cxx interoperability compatibility check #2788

Closed
wants to merge 1 commit into from

Conversation

FranzBusch
Copy link
Member

Motivation

Another reusable check is to make sure that all library products of a package are successfully building when consumed from a module that has Cxx interoperability enabled.

Modification

This PR adds a new check to the reusable workflow to check for Cxx interoperability compatibility.

Result

This should be one of the last reusable workflow checks.

@FranzBusch FranzBusch requested a review from glbrntt July 12, 2024 12:40
# Motivation

Another reusable check is to make sure that all library products of a package are successfully building when consumed from a module that has Cxx interoperability enabled.

# Modification

This PR adds a new check to the reusable workflow to check for Cxx interoperability compatibility.

# Result

This should be one of the last reusable workflow checks.
@FranzBusch FranzBusch force-pushed the fb-gha-cxx-interop branch from b224b7e to 2c73c3f Compare July 12, 2024 12:41
@FranzBusch
Copy link
Member Author

The new Cxx is expected to fail since the script isn't in the repo yet.

@FranzBusch FranzBusch enabled auto-merge (squash) July 12, 2024 12:47
@@ -191,3 +195,18 @@ jobs:
uses: actions/checkout@v4
- name: Run format check
run: swift format lint --parallel --recursive --strict

cxx-interoperability-check:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor usability: should we call this cxx-interop-check?

if: ${{ inputs.cxx_interoperability_check_enabled }}
runs-on: ubuntu-latest
container:
image: swift:5.10-noble
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We currently run this on 5.9 and 5.10, what coverage do we want moving forward?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just realised that as well. I am currently extracting the matrix based build into a separate workflow so we can easily add more matrix based jobs to it.

@FranzBusch FranzBusch closed this Jul 15, 2024
auto-merge was automatically disabled July 15, 2024 11:44

Pull request was closed

@FranzBusch FranzBusch deleted the fb-gha-cxx-interop branch July 15, 2024 11:44
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.

2 participants