disable Go 1.16 on CI, fix cross compile workflow

This commit is contained in:
Marten Seemann
2021-01-29 12:36:16 +08:00
parent f1500db062
commit 3894d16cc4
3 changed files with 6 additions and 4 deletions

View File

@@ -4,7 +4,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go: [ "1.14.x", "1.15.x", "1.16.0-beta1" ]
go: [ "1.14.x", "1.15.x" ]
runs-on: ubuntu-latest
name: "Cross Compilation (Go ${{matrix.go}})"
steps:
@@ -14,7 +14,9 @@ jobs:
stable: '!contains(${{ matrix.go }}, "beta") && !contains(${{ matrix.go }}, "rc")'
go-version: ${{ matrix.go }}
- name: Install build utils
run: sudo apt-get install -y gcc-multilib
run: |
sudo apt-get update
sudo apt-get install -y gcc-multilib
- name: Install dependencies
run: go build example/main.go
- name: Run cross compilation