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

Adding Windows CI #116

Merged
merged 11 commits into from
Sep 11, 2023
Merged

Conversation

brianmichel
Copy link
Collaborator

We want to setup Windows CI for all of the Pointfree repos that are used in TCA to ensure that we have cross platform compatibility going forward (or at least to ensure that nothing breaks).

@brianmichel
Copy link
Collaborator Author

brianmichel commented Sep 1, 2023

All of these tests currently pass on Windows!

Looks like these tests work on the 5.9 toolchain without issue, but not 5.8, @mbrandonw what would you like to do here. I can probably just use the 5.9 toolchain since that's scheduled to come out with Xcode 15 sometime soon is and would put mac and Windows on the same level, or I can try to install the local 5.8 toolchain on my windows machine and debug a bit more. Dunno how you are all thinking about backward compatibility on Windows.

@brianmichel
Copy link
Collaborator Author

brianmichel commented Sep 1, 2023

Ran these tests locally with the 5.8.1 toolchain which is the most current, non-development toolchain and everything seems to pass there so I bumped the config to that.

@mbrandonw
Copy link
Member

Hi @brianmichel, thanks for this! If you can't figure out why 5.8.1 is still failing on CI, feel free to bump to 5.9 if that gets things passing.

@brianmichel
Copy link
Collaborator Author

@mbrandonw yeah it's on my list this week, just getting sidetracked by some C++ Interop stuff that's blocking our project which took precedence. 🤞 it's an easy fix to get this to pass!

@brianmichel
Copy link
Collaborator Author

Hey @mbrandonw looks like there was some bug preventing running the tests in a release config, so I've broken out the build phases and the test phases to try to get a good balance of coverage on the profiles.

@brianmichel
Copy link
Collaborator Author

@mbrandonw looks like this should be good now, had to make a couple adjustments but left comments where I did

Copy link
Member

@mbrandonw mbrandonw left a comment

Choose a reason for hiding this comment

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

Hi @brianmichel looks great, thanks for figuring out the edge cases! Once Swift 5.9 is available on Windows we can revisit bringing back release testing too.

@mbrandonw mbrandonw merged commit 6d010a3 into pointfreeco:main Sep 11, 2023
4 checks passed
johankool pushed a commit to johankool/swift-case-paths that referenced this pull request Nov 2, 2024
We should be calling to this more stable interface now that the
messaging has been updated.
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