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

Fix Windows CI build #785

Merged
merged 10 commits into from
Jul 3, 2022
Merged

Fix Windows CI build #785

merged 10 commits into from
Jul 3, 2022

Conversation

SteffenL
Copy link
Collaborator

@SteffenL SteffenL commented Jun 25, 2022

The Windows CI build has been broken since #773 and it has not been detected because the build has been reported as successful despite the build script exiting with a non-zero exit code.

Builds have worked in my local environment with Go 1.18 which has a fix for an issue with quotes/spaces in environment variables (e.g. CGO_LDFLAGS), while GitHub Actions has Go 1.17.11 currently without the fix for that issue.

I have fixed a few other things as well in the build script for Windows.

GitHub Actions somehow does not have this directory in the PATH environment variable.

This fix allows programs built with MinGW-w64 to find runtime libraries and is more explicit about which version of MinGW-w64 will be used for compilation.
@SteffenL
Copy link
Collaborator Author

This PR was meant to complement #784 but I decided to make the necessary changes in 253bc89 to make this PR work independently.

@SteffenL SteffenL marked this pull request as ready for review June 29, 2022 11:40
@SteffenL SteffenL merged commit d772fdf into webview:master Jul 3, 2022
@SteffenL SteffenL deleted the up/fix-go-ci-build branch July 3, 2022 15:39
@SteffenL SteffenL added scope: ci Involves CI/CD scope: go Involves Go bindings (kept for historical reasons) labels Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: ci Involves CI/CD scope: go Involves Go bindings (kept for historical reasons)
Development

Successfully merging this pull request may close these issues.

2 participants