-
Notifications
You must be signed in to change notification settings - Fork 0
124 lines (124 loc) · 2.78 KB
/
go.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
name: Go
on:
push:
branches:
- master
pull_request: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- '1.11'
- '1.12'
- '1.13'
- '1.14'
- '1.15'
- '1.16'
goenv:
- GOARCH=386 GO386=sse2
- GOARCH=amd64
- GOARCH=arm GOARM=5
- GOARCH=arm GOARM=6
- GOARCH=arm GOARM=7
- GOARCH=arm64
- GOARCH=ppc64 GOPPC64=power8
- GOARCH=ppc64 GOPPC64=power9
- GOARCH=ppc64le GOPPC64=power8
- GOARCH=ppc64le GOPPC64=power9
- GOARCH=mips GOMIPS=softfloat
- GOARCH=mips GOMIPS=hardfloat
- GOARCH=mipsle GOMIPS=softfloat
- GOARCH=mipsle GOMIPS=hardfloat
- GOARCH=mips64 GOMIPS64=softfloat
- GOARCH=mips64 GOMIPS64=hardfloat
- GOARCH=mips64le GOMIPS64=softfloat
- GOARCH=mips64le GOMIPS64=hardfloat
- GOARCH=s390x
steps:
- uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v1
- run: go generate ./...
- run: ${{ matrix.goenv }} go build ./...
build_386_387:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- '1.11'
- '1.12'
- '1.13'
- '1.14'
- '1.15'
goenv:
- GOARCH=386 GO386=387
steps:
- uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v1
- run: go generate ./...
- run: ${{ matrix.goenv }} go build ./...
build_386_softfloat:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- '1.16'
goenv:
- GOARCH=386 GO386=softfloat
steps:
- uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v1
- run: go generate ./...
- run: ${{ matrix.goenv }} go build ./...
build_riscv64:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- '1.14'
- '1.15'
- '1.16'
goenv:
- GOARCH=riscv64
steps:
- uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v1
- run: go generate ./...
- run: ${{ matrix.goenv }} go build ./...
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- '1.11'
- '1.12'
- '1.13'
- '1.14'
- '1.15'
- '1.16'
steps:
- uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go }}
- uses: actions/checkout@v1
- run: go generate ./...
- run: go test -race -v ./...