-
Notifications
You must be signed in to change notification settings - Fork 19
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
Windows build fix and makefile update #48
Conversation
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.
Thank you for figuring out windows!
nvm the CI is still broken for windows and mac since it uses a linux machine to build and is failing on building non-linux cgo it seems Edit: Yeah you can cross compile go using the flags but can't cross compile cgo, looking into a workaround now |
f298805
to
45dd611
Compare
@@ -82,6 +190,14 @@ workflows: | |||
filters: | |||
tags: | |||
only: /.*/ | |||
# - build-darwin-go-1.12: |
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.
why is this disabled?
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.
because on this linux VM in the CI cannot cross compile the darwin build because of CGO in Ethash. There is potentially an inconsistent and tedious workaround to use a mac VM through CircleCI and configure go but I would argue against it because Ethash should be migrated over and the build for linux and darwin are basically identical and tested locally.
The windows and mac build will be able to be uncommented and functional once Ethash is migrated from c to go
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.
Looks great! Thanks :)
* Makefile: allow building windows binaries * circleci/config: add windows build and release steps * Makefile: allow building macos binaries * circleci/config: add darwin build and release steps * Fixed for windows * Remove default env variable and update chainconfig * Fix circliCI build * Added back platform specific building assume will be needed for release binary gen * Updated CI to use mac build * Remove cross compiling from CI workflow, refactored makefile * Changed binary compression to zip for windows
* updated TestParseNode to work with go v1.12.8 (#42) * Closes #46 update mainnet bootnodes list (#45) * Windows build fix and makefile update (#48) * Makefile: allow building windows binaries * circleci/config: add windows build and release steps * Makefile: allow building macos binaries * circleci/config: add darwin build and release steps * Fixed for windows * Remove default env variable and update chainconfig * Fix circliCI build * Added back platform specific building assume will be needed for release binary gen * Updated CI to use mac build * Remove cross compiling from CI workflow, refactored makefile * Changed binary compression to zip for windows * ecrecover edge case chains fix (#58) * Added edge case test and refactored logic * Wip specific tests still failing * Update invalid tests to use actual invalid chainid @austinabell made this change
Cross compiles and sets up release binary generation, set up by @soc1c and I just changed it a bit to fix the CI for mac and windows and fixed a dependency to build on windows.
Also updates chainconfig from bootnodes update.
Note: chain config cannot be generated on windows as of now because of how the makefile is set up for that and I won't fix it yet since it's not relevant for who runs that command.