Add cross-compile

This commit is contained in:
Jim McDonald
2020-07-21 09:19:17 +01:00
parent 834e3310c5
commit 0b2ef25cc4

View File

@@ -35,3 +35,14 @@ jobs:
- name: Test
run: go test -v .
- name: Set env
run: |
echo '::set-env name=GO111MODULE::on'
- name: Fetch xgo
run: go get github.com/suburbandad/xgo
- name: Cross-compile
run: xgo -v -x --targets="linux/amd64,linux/arm64,windows/amd64" github.com/wealdtech/ethdo