-
Notifications
You must be signed in to change notification settings - Fork 0
108 lines (99 loc) · 6.13 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
# SPDX-License-Identifier: GPL-3.0-or-later
name: Go
on:
push:
branches:
- master
pull_request: { }
jobs:
build:
name: Build
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go:
- 20
- 21
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.${{ matrix.go }}
- run: CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 GOAMD64=v1 go build ./...
- run: CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 GOAMD64=v2 go build ./...
- run: CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 GOAMD64=v3 go build ./...
- run: CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 GOAMD64=v4 go build ./...
- run: CGO_ENABLED=0 GOOS=darwin GOARCH=arm64 go build ./...
- run: CGO_ENABLED=0 GOOS=dragonfly GOARCH=amd64 GOAMD64=v1 go build ./...
- run: CGO_ENABLED=0 GOOS=dragonfly GOARCH=amd64 GOAMD64=v2 go build ./...
- run: CGO_ENABLED=0 GOOS=dragonfly GOARCH=amd64 GOAMD64=v3 go build ./...
- run: CGO_ENABLED=0 GOOS=dragonfly GOARCH=amd64 GOAMD64=v4 go build ./...
- run: CGO_ENABLED=0 GOOS=freebsd GOARCH=386 GO386=softfloat go build ./...
- run: CGO_ENABLED=0 GOOS=freebsd GOARCH=386 GO386=sse2 go build ./...
- run: CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 GOAMD64=v1 go build ./...
- run: CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 GOAMD64=v2 go build ./...
- run: CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 GOAMD64=v3 go build ./...
- run: CGO_ENABLED=0 GOOS=freebsd GOARCH=amd64 GOAMD64=v4 go build ./...
- run: CGO_ENABLED=0 GOOS=freebsd GOARCH=arm GOARM=5 go build ./...
- run: CGO_ENABLED=0 GOOS=freebsd GOARCH=arm GOARM=6 go build ./...
- run: CGO_ENABLED=0 GOOS=freebsd GOARCH=arm GOARM=7 go build ./...
- run: CGO_ENABLED=0 GOOS=freebsd GOARCH=riscv64 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=386 GO386=softfloat go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=386 GO386=sse2 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOAMD64=v1 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOAMD64=v2 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOAMD64=v3 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOAMD64=v4 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=5 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=6 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=loong64 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=mips GOMIPS=softfloat go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=mips GOMIPS=hardfloat go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=mipsle GOMIPS=softfloat go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=mipsle GOMIPS=hardfloat go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=mips64 GOMIPS64=softfloat go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=mips64 GOMIPS64=hardfloat go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=mips64le GOMIPS64=softfloat go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=mips64le GOMIPS64=hardfloat go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=ppc64 GOPPC64=power8 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=ppc64 GOPPC64=power9 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=ppc64 GOPPC64=power10 go build ./...
if: matrix.go >= 21
- run: CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le GOPPC64=power8 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le GOPPC64=power9 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=ppc64le GOPPC64=power10 go build ./...
if: matrix.go >= 21
- run: CGO_ENABLED=0 GOOS=linux GOARCH=riscv64 go build ./...
- run: CGO_ENABLED=0 GOOS=linux GOARCH=s390x go build ./...
- run: CGO_ENABLED=0 GOOS=netbsd GOARCH=386 GO386=softfloat go build ./...
- run: CGO_ENABLED=0 GOOS=netbsd GOARCH=386 GO386=sse2 go build ./...
- run: CGO_ENABLED=0 GOOS=netbsd GOARCH=amd64 GOAMD64=v1 go build ./...
- run: CGO_ENABLED=0 GOOS=netbsd GOARCH=amd64 GOAMD64=v2 go build ./...
- run: CGO_ENABLED=0 GOOS=netbsd GOARCH=amd64 GOAMD64=v3 go build ./...
- run: CGO_ENABLED=0 GOOS=netbsd GOARCH=amd64 GOAMD64=v4 go build ./...
- run: CGO_ENABLED=0 GOOS=netbsd GOARCH=arm GOARM=5 go build ./...
- run: CGO_ENABLED=0 GOOS=netbsd GOARCH=arm GOARM=6 go build ./...
- run: CGO_ENABLED=0 GOOS=netbsd GOARCH=arm GOARM=7 go build ./...
- run: CGO_ENABLED=0 GOOS=openbsd GOARCH=386 GO386=softfloat go build ./...
- run: CGO_ENABLED=0 GOOS=openbsd GOARCH=386 GO386=sse2 go build ./...
- run: CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 GOAMD64=v1 go build ./...
- run: CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 GOAMD64=v2 go build ./...
- run: CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 GOAMD64=v3 go build ./...
- run: CGO_ENABLED=0 GOOS=openbsd GOARCH=amd64 GOAMD64=v4 go build ./...
- run: CGO_ENABLED=0 GOOS=openbsd GOARCH=arm GOARM=5 go build ./...
- run: CGO_ENABLED=0 GOOS=openbsd GOARCH=arm GOARM=6 go build ./...
- run: CGO_ENABLED=0 GOOS=openbsd GOARCH=arm GOARM=7 go build ./...
- run: CGO_ENABLED=0 GOOS=openbsd GOARCH=arm64 go build ./...
- run: CGO_ENABLED=0 GOOS=windows GOARCH=386 GO386=softfloat go build ./...
- run: CGO_ENABLED=0 GOOS=windows GOARCH=386 GO386=sse2 go build ./...
- run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 GOAMD64=v1 go build ./...
- run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 GOAMD64=v2 go build ./...
- run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 GOAMD64=v3 go build ./...
- run: CGO_ENABLED=0 GOOS=windows GOARCH=amd64 GOAMD64=v4 go build ./...
- run: CGO_ENABLED=0 GOOS=windows GOARCH=arm GOARM=5 go build ./...
- run: CGO_ENABLED=0 GOOS=windows GOARCH=arm GOARM=6 go build ./...
- run: CGO_ENABLED=0 GOOS=windows GOARCH=arm GOARM=7 go build ./...
- run: CGO_ENABLED=0 GOOS=windows GOARCH=arm64 go build ./...