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: re-enable windows #2041

Merged
merged 2 commits into from Jun 21, 2022
Merged

ci: re-enable windows #2041

merged 2 commits into from Jun 21, 2022

Conversation

onbjerg
Copy link
Member

@onbjerg onbjerg commented Jun 21, 2022

Motivation

We originally disabled Windows cross-platform builds and releases because we ran out of memory for some reason. Building from source for Windows might be a non-starter for some (experience/effort/resource constraints) so we should investigate re-adding Windows support.

Solution

Re-enable Windows and figure out if it works/why it didn't before. Also fix any cross-platform tests that fail on Windows

Closes #773 and #2021

@onbjerg onbjerg added T-feature Type: feature A-releases Area: releases/packaging labels Jun 21, 2022
@onbjerg onbjerg force-pushed the onbjerg/windows branch 2 times, most recently from bc8ea4d to 029e3ba Compare June 21, 2022 02:46
@onbjerg
Copy link
Member Author

onbjerg commented Jun 21, 2022

So, the release workflow seems to work fine and complete in an OK amount of time (~15 mins which is in line with other platforms), but the cross-platform tests take forever to run (~1 hr). Searching around it seems like this is primarily just because GitHub's hosted runners for Windows are severely underpowered :/

Edit: Proof of release https://github.com/foundry-rs/foundry/runs/6977465668?check_suite_focus=true

@onbjerg onbjerg force-pushed the onbjerg/windows branch 2 times, most recently from 88b076b to a08a0cf Compare June 21, 2022 04:32
@onbjerg
Copy link
Member Author

onbjerg commented Jun 21, 2022

Okay so not running with --profile local actually makes this a lot faster.

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

lgtm

but still baffled why running on aarch64-apple takes so long

@mattsse mattsse merged commit 103b12a into master Jun 21, 2022
@mattsse mattsse deleted the onbjerg/windows branch June 21, 2022 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-releases Area: releases/packaging T-feature Type: feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Re-enable Windows releases
2 participants