bazel-contrib / bazel-contrib/rules_go
Setting `GOARM64` environment variable for build actions?
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 1.5k
- Forks
- 762
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 12
Description
I cannot for the life of me figure out if there is an existing way to do this. It appears the env context is locked down, so not sure if this is actually going to require a code change.
FWIW, I'd like to set it to GOARM64="v9.0,lse,crypto"
Edit: See #4557 with what I think is how to do this.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining how build actions expose environment variables and how the GitHub Actions env context is handled. Compare the requested GOARM64 value with the proposed approach in #4557. Done means determining whether this can be configured without a code change, or defining the required change and validating the resulting build behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, go
- Domain
- build-system, ci-cd
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100