mirror of https://github.com/statping/statping
attempt to use GH actions and xgo to build binaries
parent
e25e55bde2
commit
21b037ab8c
|
@ -328,9 +328,10 @@ jobs:
|
||||||
uses: crazy-max/ghaction-xgo@v1
|
uses: crazy-max/ghaction-xgo@v1
|
||||||
with:
|
with:
|
||||||
xgo_version: latest
|
xgo_version: latest
|
||||||
go_version: ${{ matrix.go_version }}
|
go_version: 1.14.2
|
||||||
dest: build
|
dest: build
|
||||||
prefix: statping
|
prefix: statping
|
||||||
|
pkg: cmd
|
||||||
targets: linux/386,linux/amd64
|
targets: linux/386,linux/amd64
|
||||||
v: true
|
v: true
|
||||||
x: false
|
x: false
|
||||||
|
@ -341,9 +342,10 @@ jobs:
|
||||||
uses: crazy-max/ghaction-xgo@v1
|
uses: crazy-max/ghaction-xgo@v1
|
||||||
with:
|
with:
|
||||||
xgo_version: latest
|
xgo_version: latest
|
||||||
go_version: ${{ matrix.go_version }}
|
go_version: 1.14.2
|
||||||
dest: build
|
dest: build
|
||||||
prefix: statping
|
prefix: statping
|
||||||
|
pkg: cmd
|
||||||
targets: linux/arm-7,linux/arm64
|
targets: linux/arm-7,linux/arm64
|
||||||
v: true
|
v: true
|
||||||
x: false
|
x: false
|
||||||
|
@ -382,13 +384,14 @@ jobs:
|
||||||
name: static-rice-box
|
name: static-rice-box
|
||||||
path: ./source
|
path: ./source
|
||||||
|
|
||||||
- name: Build Linux ARM XGO
|
- name: Build Windows XGO
|
||||||
uses: crazy-max/ghaction-xgo@v1
|
uses: crazy-max/ghaction-xgo@v1
|
||||||
with:
|
with:
|
||||||
xgo_version: latest
|
xgo_version: latest
|
||||||
go_version: ${{ matrix.go_version }}
|
go_version: 1.14.2
|
||||||
dest: build
|
dest: build
|
||||||
prefix: statping
|
prefix: statping
|
||||||
|
pkg: cmd
|
||||||
targets: windows-6.0/386,windows-6.0/amd64
|
targets: windows-6.0/386,windows-6.0/amd64
|
||||||
v: true
|
v: true
|
||||||
x: false
|
x: false
|
||||||
|
@ -427,13 +430,14 @@ jobs:
|
||||||
name: static-rice-box
|
name: static-rice-box
|
||||||
path: ./source
|
path: ./source
|
||||||
|
|
||||||
- name: Build MacOSX ARM XGO
|
- name: Build MacOSX XGO
|
||||||
uses: crazy-max/ghaction-xgo@v1
|
uses: crazy-max/ghaction-xgo@v1
|
||||||
with:
|
with:
|
||||||
xgo_version: latest
|
xgo_version: latest
|
||||||
go_version: ${{ matrix.go_version }}
|
go_version: 1.14.2
|
||||||
dest: build
|
dest: build
|
||||||
prefix: statping
|
prefix: statping
|
||||||
|
pkg: cmd
|
||||||
targets: darwin/386,darwin/amd64
|
targets: darwin/386,darwin/amd64
|
||||||
v: true
|
v: true
|
||||||
x: false
|
x: false
|
||||||
|
|
Loading…
Reference in New Issue