Skip to content

Commit

Permalink
Added experimental win/osx support
Browse files Browse the repository at this point in the history
  • Loading branch information
HadesArchitect authored Dec 11, 2020
1 parent 1b70c39 commit 88e89b4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ jobs:
run: docker run --rm -v ${PWD}:/opt/gcds -w /opt/gcds node:11 node node_modules/webpack/bin/webpack.js
- name: dep ensure
run: docker run --rm -v ${PWD}:/go/src/github.com/ha/gcp -w /go/src/github.com/ha/gcp instrumentisto/dep ensure
- name: go build
- name: go build linux
run: docker run --rm -v ${PWD}:/go/src/github.com/ha/gcp -w /go/src/github.com/ha/gcp golang go build -i -o ./dist/cassandra-plugin_linux_amd64 ./backend
- name: go build windows
run: docker run --rm -v ${PWD}:/go/src/github.com/ha/gcp -w /go/src/github.com/ha/gcp -e GOOS=windows -e GOARCH=amd64 golang go build -i -o ./dist/cassandra-plugin_windows_amd64 ./backend
- name: go build darwin
run: docker run --rm -v ${PWD}:/go/src/github.com/ha/gcp -w /go/src/github.com/ha/gcp -e GOOS=darwin -e GOARCH=amd64 golang go build -i -o ./dist/cassandra-plugin_darwin_amd64 ./backend
- name: Package tar
run: tar -czvf cassandra-datasource-${{ github.event.release.tag_name }}.tar.gz ./dist
- name: Package zip
Expand Down

0 comments on commit 88e89b4

Please sign in to comment.