crazy-max/Golang CGO cross compiler
GitHub Action for xgo, a Golang CGO cross compiler
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| xgo_version | xgo version | no | latest |
| go_version | Go release to use for cross compilation | no | latest |
| dest | Destination folder to put binaries in | no | build |
| pkg | Sub-package to build if not root import | no | — |
| prefix | Prefix to use for output naming. Default to package name | no | — |
| targets | Comma separated targets to build for. Example: windows/amd64,linux/386 | no | */* |
| v | Prints the names of packages as they are compiled | no | false |
| x | Prints the build commands as compilation progresses | no | false |
| race | Enable data race detection (supported only on amd64) | no | false |
| tags | Comma separated list of build tags to consider satisfied during the build | no | — |
| ldflags | Arguments to pass on each go tool link invocation | no | — |
| buildmode | Indicates which kind of object file to build | no | default |
| buildvcs | Whether to stamp binaries with version control information | no | — |
| trimpath | Remove all file system paths from the resulting executable | no | false |
| working_dir | Working directory | no | — |
Outputs
no outputs