Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
moroen committed Jan 8, 2020
2 parents 60b66cc + c7d73c5 commit 977b090
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,31 @@ strategy:
goarch: "amd64"
archlabel: "x86_64"
goarm: "7"
fileext: ""
windows_x86_64:
goos: "windows"
goarch: "amd64"
archlabel: "x86_64"
goarm: "7"
fileext: ".exe"
macos_x86_64:
goos: "darwin"
goarch: "amd64"
archlabel: "x86_64"
goarm: "7"
fileext: ""
armv6:
goos: "linux"
goarch: "arm"
archlabel: "armv6"
goarm: "6"
fileext: ""
armv7:
goos: "linux"
goarch: "arm"
archlabel: "armv7"
goarm: "7"
fileext: ""

steps:
- script: |
Expand All @@ -67,7 +72,7 @@ steps:
displayName: 'Get dependencies'

- script: |
env GOOS=$(goos) GOARCH=$(goarch) GOARM=$(goarm) go build -v .
env GOOS=$(goos) GOARCH=$(goarch) GOARM=$(goarm) go build -v -o coapcmd-$(goos)-$(archlabel)$(fileext) .
workingDirectory: '$(modulePath)'
displayName: 'Build'

Expand Down

0 comments on commit 977b090

Please # to comment.