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

[CI] add test to check libFoundation.so & co are not linked to the bi… #441

Merged
merged 2 commits into from
Dec 25, 2024

Conversation

sebsto
Copy link
Contributor

@sebsto sebsto commented Dec 22, 2024

This adds a test in the integration_test.yml workflow to verify that libFoundation.so, libFoundationInternationalization.so, and lib_FoundationICU.so and not linked the the function binary.

This is a follow up from the work make by @t089 to ensure that we don't accidentally link Foundation again in the future.

Remove Foundation : #436
Add test in CI to ensure we don't link to foundation : #402

@sebsto sebsto added the semver/none No version bump required. label Dec 22, 2024
@sebsto sebsto self-assigned this Dec 22, 2024
@sebsto sebsto force-pushed the sebsto/ci_foundation branch 2 times, most recently from 37da1b8 to 15f6410 Compare December 22, 2024 14:41
@sebsto sebsto requested review from adam-fowler and 0xTim December 23, 2024 08:46
Copy link
Contributor

@t089 t089 left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you.

Copy link
Member

Choose a reason for hiding this comment

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

GH is being really weird at the moment and diffs are broken - it's not showing this as a new file, like it's stuck diffing a particular commit or something. This file doesn't exist on main right?

Copy link
Contributor Author

@sebsto sebsto Dec 23, 2024

Choose a reason for hiding this comment

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

@0xTim I’m sorry I messed things up. It's not a problem with GitHub, it's me.

Now it's fixed, you should see the entire script as a new file in this PR

Copy link
Member

Choose a reason for hiding this comment

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

Ahh makes sense, thanks!

@sebsto sebsto force-pushed the sebsto/ci_foundation branch from bb3f2d1 to bc02c30 Compare December 24, 2024 08:33
Copy link
Member

Choose a reason for hiding this comment

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

Ahh makes sense, thanks!

@sebsto sebsto merged commit 31a7eda into swift-server:main Dec 25, 2024
25 checks passed
@sebsto sebsto deleted the sebsto/ci_foundation branch December 25, 2024 06:46
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