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

Build ci on windows #14463

Merged
merged 3 commits into from Apr 20, 2022
Merged

Build ci on windows #14463

merged 3 commits into from Apr 20, 2022

Conversation

liuxingbaoyu
Copy link
Member

@liuxingbaoyu liuxingbaoyu commented Apr 13, 2022

Q                       A
Fixed Issues? Fixes #13796
Patch: Bug Fix? ×
Major: Breaking Change? ×
Minor: New Feature? ×
Tests Added + Pass?
Documentation PR Link
Any Dependency Changes?
License MIT

#14461
#14462

Need to wait for the two pull requests to be merged.

The new ci will prevent the problems of the above two pull requests.

@babel-bot
Copy link
Collaborator

babel-bot commented Apr 13, 2022

Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/51674/

@liuxingbaoyu
Copy link
Member Author

@nicolo-ribaudo @JLHwung Now it's passable!

Copy link
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

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

I like that this PR doesn't modify the windows tests to use the code compiled on windows, since our windows users will still use the code compiled&published by us on linux 👍

@@ -96,6 +96,32 @@ jobs:
packages/babel-standalone/*.js
!**/node_modules/**

build-windows:
name: Build Babel Artifacts On Windows
runs-on: windows-latest
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
runs-on: windows-latest
runs-on: windows-latest
needs: prepare-yarn-cache

so that it downloads the cached packages from the previous step.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ehh, it won't restore from that step anyway. The actions/setup-node generates different cache id from different os
https://github.com/actions/setup-node/blob/146c4d84a51256d5571b40011b76c0c6f7dfd981/src/cache-restore.ts#L39
even if Yarn 3 does support cache created from different OS.

Copy link
Member

Choose a reason for hiding this comment

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

Oh ok

@JLHwung JLHwung merged commit f24a72d into babel:main Apr 20, 2022
@github-actions github-actions bot added the outdated A closed issue/PR that is archived due to age. Recommended to make a new issue label Jul 21, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: tests outdated A closed issue/PR that is archived due to age. Recommended to make a new issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] Test babel builds on Windows
4 participants