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

Add CI tests for latest rules_swift and rules_apple #899

Merged

Conversation

luispadron
Copy link
Collaborator

@luispadron luispadron commented Aug 21, 2024

This adds another matrix for testing the latest rules_apple and rules_swift without having to update our MODULE.bazel/WORKSPACE.bazel files.

NOTE: the latest rules dont work fully yet so im expecting these jobs to fail. I'll leave the latest jobs as not required and mark the rest required until we fix support for the latest rules.

@luispadron luispadron force-pushed the luis/add-tests-for-latest-rules_swift-latest-rules_apple branch from 773b11c to baf7d3c Compare August 21, 2024 15:39
@luispadron luispadron marked this pull request as ready for review August 21, 2024 15:49
@@ -24,9 +24,13 @@ jobs:
xcode_version: [15.2]
virtual_frameworks: [true, false]
sandbox: [true, false]
latest_rules: [true, false]
Copy link
Contributor

Choose a reason for hiding this comment

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

you can consider adding exclude here for the known not working combo so that we don't even bother running it until we fixed the underlying issue

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I want to run it so that any future PRs can ensure thats green if they intended to fix the issue. I just wont mark it required in github so it wont block merges, thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, that sounds reasonable. Looks like the latest rules don't work with bazel 6.5

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

They also dont work in bazel 7 with vfs turned off

@luispadron luispadron force-pushed the luis/add-tests-for-latest-rules_swift-latest-rules_apple branch from baf7d3c to 417206f Compare August 21, 2024 18:34
@luispadron luispadron enabled auto-merge (squash) August 21, 2024 18:37
@luispadron luispadron merged commit e526f2e into master Aug 21, 2024
15 of 21 checks passed
@luispadron luispadron deleted the luis/add-tests-for-latest-rules_swift-latest-rules_apple branch August 21, 2024 21:06
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.

4 participants