-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Augustin Husson <[email protected]>
- Loading branch information
Showing
3 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
version: 2 | ||
builds: | ||
- id: "metric-usage" | ||
main: ./main.go | ||
binary: "metric-usage" | ||
goos: | ||
- linux | ||
- windows | ||
- darwin | ||
goarch: | ||
- amd64 | ||
- arm | ||
- arm64 | ||
# We are ignoring this arch because it doesn't compile due to an issue with prometheus: | ||
# failed to build for windows_arm_6 | ||
# github.com/prometheus/[email protected]/tsdb/fileutil/mmap_windows.go:38:12: undefined array length maxMapSize or missing type constraint | ||
ignore: | ||
- goarch: arm | ||
goos: windows | ||
env: | ||
- CGO_ENABLED=0 | ||
ldflags: | ||
- "{{.Env.LDFLAGS}}" | ||
archives: | ||
- id: "default" | ||
builds: | ||
- "metric-usage" | ||
format: "tar.gz" | ||
files: | ||
- LICENSE | ||
- README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters