Skip to content

Commit

Permalink
Merge 60f558c into eff23e4
Browse files Browse the repository at this point in the history
  • Loading branch information
blackrez committed Sep 9, 2020
2 parents eff23e4 + 60f558c commit 6c2ed56
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,27 @@ name: test and build
env:
GOPROXY: "https://proxy.golang.org"
jobs:
test:
test_amd64:
strategy:
matrix:
go: [1.13, 1.14]
runs-on: ubuntu-latest
steps:
- name: Install Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Checkout code
uses: actions/checkout@v2
- name: Run tests
run: go test -v

test_arm:
strategy:
matrix:
go: [1.13, 1.14]
runs-on: [self-hosted, linux, ARM64]
steps:

- name: Install Go ${{ matrix.go }}
uses: actions/setup-go@v2
Expand Down Expand Up @@ -54,7 +69,7 @@ jobs:
- goarch: "arm"
goos: darwin
runs-on: ubuntu-latest
needs: [test]
needs: [test_amd64, test_arm]
steps:
- name: Install Go ${{ matrix.go }}
uses: actions/setup-go@v2
Expand Down

0 comments on commit 6c2ed56

Please sign in to comment.