Build `x86` on Windows with the built-in tools
Open
enhancement
help wanted
- Dominant language
- Go
- Stars
- 657
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
We build `amd64` directly: https://github.com/github/smimesign/blob/e650daf6eaadf85c763fa06dcfb0e4d794d293dc/.github/workflows/build-binaries.yml#L89
But I had trouble figuring out how to build for `GOARCH=386` without errors. Right now, we use https://github.com/egor-tensin/setup-mingw to switch to 32-bit builds, which pulls down a bunch of tooling and takes a few minutes:
https://github.com/github/smimesign/blob/e650daf6eaadf85c763fa06dcfb0e4d794d293dc/.github/workflows/build-binaries.yml#L90-L94
I can't help but feel there must still be a nice (or at least much faster) way to do this using the built-in tools from Actions.
Contributor guide
Assessment
This issue has not been assessed yet.