Skip to content

Commit

Permalink
fix(build): Update to Go 1.17 for crossbuild, and enable all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
pdf committed Aug 18, 2021
1 parent 2b0c88d commit f47b69a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,16 +79,9 @@ jobs:

- name: Build
id: build
env:
PREFIX: .build/linux-amd64
run: |
make
- name: Crossbuild
id: crossbuild
run: |
promu crossbuild --parallelism $PARALLELISM --parallelism-thread 0
promu crossbuild --parallelism $PARALLELISM --parallelism-thread 0 tarballs
promu crossbuild --parallelism $PARALLELISM
promu crossbuild --parallelism $PARALLELISM tarballs
promu checksum .tarballs
- name: Create Release
Expand Down
10 changes: 9 additions & 1 deletion .promu.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
go:
# Whenever the Go version is updated here,
# .circle/config.yml should also be updated.
version: 1.16
version: 1.17
repository:
path: github.com/pdf/zfs_exporter
build:
Expand All @@ -12,6 +12,14 @@ build:
-X github.com/prometheus/common/version.Branch={{.Branch}}
-X github.com/prometheus/common/version.BuildUser={{user}}@{{host}}
-X github.com/prometheus/common/version.BuildDate={{date "20060102-15:04:05"}}
crossbuild:
platforms:
- linux
- illumos
- darwin
- freebsd
- netbsd
- dragonfly
tarball:
files:
- LICENSE
Expand Down

0 comments on commit f47b69a

Please sign in to comment.