-
Notifications
You must be signed in to change notification settings - Fork 14
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 support #8
Comments
Could it be similar to this solution? |
@sgelhaus Thanks for letting me know. I tried to update with |
Glad that Windows worked out. Curious what errors did MacOS give? |
Sorry for the lacking of context. The initial comment is emitted by macOS when executing greleaser: ❯ goreleaser --snapshot --skip-publish --rm-dist
• releasing...
• loading config file file=.goreleaser.yaml
• running before hooks
• running go mod tidy
• loading environment variables
• getting and validating git state
• releasing v0.2.0, commit 676660f00993cf9adc25a572c89d25484bf5dc56
• pipe skipped error=disabled during snapshot mode
• parsing tag
• setting defaults
• snapshotting
• github/gitlab/gitea releases
• project name
• building binaries
• creating source archive
• archives
• linux packages
• snapcraft packages
• calculating checksums
• signing artifacts
• docker images
• artifactory
• blobs
• homebrew tap formula
• optimistically guessing `brew[0].installs`, double check
• scoop manifests
• snapshotting
• checking ./dist
• writing effective config file
• writing config=dist/config.yaml
• generating changelog
• pipe skipped error=not available for snapshots
• building binaries
• building binary=/Users/s07726/src/github.com/nakabonne/gosivy/dist/gosivy_windows_amd64/gosivy.exe
• building binary=/Users/s07726/src/github.com/nakabonne/gosivy/dist/gosivy_linux_arm_7/gosivy
• building binary=/Users/s07726/src/github.com/nakabonne/gosivy/dist/gosivy_darwin_amd64/gosivy
• building binary=/Users/s07726/src/github.com/nakabonne/gosivy/dist/gosivy_linux_amd64/gosivy
• building binary=/Users/s07726/src/github.com/nakabonne/gosivy/dist/gosivy_linux_arm64/gosivy
⨯ release failed after 5.39s error=failed to build for windows_amd64: # github.com/shirou/gopsutil/process
../../../../go/pkg/mod/github.com/shirou/[email protected]+incompatible/process/process_windows.go:184:13: undefined: "golang.org/x/sys/windows".EnumProcesses
|
Maybe we can add windows support to README.md as well 💯 |
For some reasons, cannot build for windows_amd64. gopsutil/process should support it but something wrong.
The text was updated successfully, but these errors were encountered: