- Notifications
You must be signed in to change notification settings - Fork928
feat: arm(v7/64) builds for releases and agent scripts#1337
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
23d459d
1cf00af
812ba59
5f3ad60
a1b6b65
ceac8a5
449ef7b
01d5b50
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -32,11 +32,18 @@ builds: | ||
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"] | ||
env: [CGO_ENABLED=0] | ||
goos: [darwin, linux, windows] | ||
goarch: [amd64, arm, arm64] | ||
goarm: ["7"] | ||
bpmct marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
# Only build arm 7 for Linux | ||
ignore: | ||
- goos: windows | ||
goarm: '7' | ||
- goos: darwin | ||
goarm: '7' | ||
hooks: | ||
# The "trimprefix" appends ".exe" on Windows. | ||
post: | | ||
cp {{.Path}} site/out/bin/coder-{{ .Os }}-{{ .Arch }}{{if .Arm }}v{{ .Arm }}{{ end }}{{trimprefix .Name "coder" }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. I discovered this is fairly common:https://sourcegraph.com/search?q=context:global+file:.goreleaser.yaml+%7B%7B+.Arm+%7D%7D&patternType=literal | ||
- id: coder-linux | ||
dir: cmd/coder | ||
@@ -45,7 +52,8 @@ builds: | ||
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"] | ||
env: [CGO_ENABLED=0] | ||
goos: [linux] | ||
goarch: [amd64, arm, arm64] | ||
goarm: ["7"] | ||
- id: coder-windows | ||
dir: cmd/coder | ||