Skip to content

Commit

Permalink
add cross-compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanleo committed Oct 21, 2018
1 parent cef931a commit 00296ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,15 @@ jobs:

# specify any bash command here prefixed with `run: `
- run: dep ensure -vendor-only
- run: go build -a -o radio-clerk .
- run: go build -a -o radio-clerk-linux64 .
- run: env GOOS=linux GOARCH=386 go build -a -o radio-clerk-linux32 .
- run: env GOOS=windows GOARCH=386 go build -a -o radio-clerk-win32.exe .
- run: env GOOS=windows GOARCH=amd64 go build -a -o radio-clerk-win64.exe .
- run: env GOOS=darwin GOARCH=amd64 go build -a -o radio-clerk-darwin .
- persist_to_workspace:
root: .
paths:
- radio-clerk
- radio-clerk-*
deploy:
docker:
- image: circleci/golang:1.10.4
Expand Down

0 comments on commit 00296ed

Please sign in to comment.