From 21b037ab8c4fce55ec6e5796a3543f46f98ee157 Mon Sep 17 00:00:00 2001 From: hunterlong Date: Wed, 20 May 2020 18:29:23 -0700 Subject: [PATCH] attempt to use GH actions and xgo to build binaries --- .github/workflows/master.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 02f7dd5c..5ac03bed 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -328,9 +328,10 @@ jobs: uses: crazy-max/ghaction-xgo@v1 with: xgo_version: latest - go_version: ${{ matrix.go_version }} + go_version: 1.14.2 dest: build prefix: statping + pkg: cmd targets: linux/386,linux/amd64 v: true x: false @@ -341,9 +342,10 @@ jobs: uses: crazy-max/ghaction-xgo@v1 with: xgo_version: latest - go_version: ${{ matrix.go_version }} + go_version: 1.14.2 dest: build prefix: statping + pkg: cmd targets: linux/arm-7,linux/arm64 v: true x: false @@ -382,13 +384,14 @@ jobs: name: static-rice-box path: ./source - - name: Build Linux ARM XGO + - name: Build Windows XGO uses: crazy-max/ghaction-xgo@v1 with: xgo_version: latest - go_version: ${{ matrix.go_version }} + go_version: 1.14.2 dest: build prefix: statping + pkg: cmd targets: windows-6.0/386,windows-6.0/amd64 v: true x: false @@ -427,13 +430,14 @@ jobs: name: static-rice-box path: ./source - - name: Build MacOSX ARM XGO + - name: Build MacOSX XGO uses: crazy-max/ghaction-xgo@v1 with: xgo_version: latest - go_version: ${{ matrix.go_version }} + go_version: 1.14.2 dest: build prefix: statping + pkg: cmd targets: darwin/386,darwin/amd64 v: true x: false