-
Notifications
You must be signed in to change notification settings - Fork 265
fix: windows CI by adding cross-platform Makefile support (#3109) #7635
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
Open
swar09
wants to merge
16
commits into
unicode-org:main
Choose a base branch
from
swar09:crossplatform-makefile
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+20
−3
Open
Changes from 12 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
1aac1c9
feat: Improve cross-platform compatibility by adding OS-specific path…
swar09 9469afa
Merge branch 'unicode-org:main' into crossplatform-makefile
swar09 4b0dd3f
build: Standardize path separators in Makefiles by replacing the `$(S…
swar09 e38efc6
update build-test.yml
swar09 c55ec0a
Merge branch 'unicode-org:main' into crossplatform-makefile
swar09 dc59745
update ci-job test-cargo (#3109)
swar09 a830069
testing workflow
swar09 6cc909e
Merge branch 'unicode-org:main' into crossplatform-makefile
swar09 b79e21a
updated
swar09 ee3df8a
Merge branch 'crossplatform-makefile' of https://github.com/swar09/ic…
swar09 ba7efcd
fix: Windows CI by adding cross-platform Makefile support (#3109)
swar09 4c8dddc
Merge branch 'main' into crossplatform-makefile
swar09 e5a0206
Merge branch 'main' into crossplatform-makefile
swar09 8410c2c
Merge branch 'unicode-org:main' into crossplatform-makefile
swar09 a357bd2
Merge branch 'main' into crossplatform-makefile
swar09 64cd1bd
Update .github/workflows/build-test.yml
swar09 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the cost of an additional runner is worth it. the linux job is barely worth it, because we never touch the code that this tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I'm on the fence. wdyt about running it only on Windows? Then at least the job is covering something that most of the other jobs don't cover.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm also fine with having Windows makefile support for harfbuzz being best-effort: we don't CI it but we try to maintain it when people ask us to fix things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having it in .github/workflows means that it remains reproducible, which is nice.
Wdyt about making it a trigger-only job (requires pressing a button in the Actions tab) that we run periodically such as when preparing a release (except we don't want to make releases harder)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then you might as well run it locally. all that the CI would test is that harfbuzz is installed correctly – this is not something we need to test because it's outside of ICU4X.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I still have a slight preference to enforce Windows client builds in CI (not just tests).
I don't care much about harfbuzz in particular as a CI thing; I would be happy if we built the cargo example crates without the harfbuzz one.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
then lets run
test-con windows (we already runtest-dart). keep in mind that windows CI takes 2x longer than ubuntu