@@ -17,7 +17,7 @@ blocks:
17
17
dependencies : []
18
18
task :
19
19
jobs :
20
- - name : linux/amd64
20
+ - name : " Test linux/amd64"
21
21
commands :
22
22
- checkout
23
23
- sem-version go $(cat .go-version)
@@ -27,24 +27,60 @@ blocks:
27
27
- make lint
28
28
- make test
29
29
- make test-installer
30
+ - name : " Build linux/amd64 (GLIBC)"
31
+ commands :
32
+ - checkout
33
+ - docker build . --file docker/Dockerfile_build_linux_amd64 --tag test-build
34
+ - name : " Build linux/amd64 (Alpine)"
35
+ commands :
36
+ - checkout
37
+ - sem-version go $(cat .go-version)
38
+ - export PATH=$(go env GOPATH)/bin:$PATH
39
+ - sudo apt install musl-tools --yes
40
+ - CC=musl-gcc CGO_LDFLAGS="-static" CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go build -tags musl -ldflags="-s -w -X main.commit="00000000" -X main.date="1970-01-01T00:00:00Z" -X main.isTest=true" ./cmd/confluent
30
41
epilogue :
31
42
always :
32
43
commands :
33
44
- test-results publish . -N "linux/amd64"
34
45
35
- - name : darwin/arm64
46
+ - name : linux/arm64
47
+ dependencies : []
48
+ task :
49
+ agent :
50
+ machine :
51
+ type : s1-prod-ubuntu20-04-arm64-1
52
+ jobs :
53
+ - name : " Build linux/arm64 (GLIBC)"
54
+ commands :
55
+ - checkout
56
+ - docker build . --file docker/Dockerfile_build_linux_arm64 --tag test-build
57
+ - name : " Build linux/arm64 (Alpine)"
58
+ commands :
59
+ - checkout
60
+ - sem-version go $(cat .go-version)
61
+ - export PATH=$(go env GOPATH)/bin:$PATH
62
+ - sudo apt install musl-tools --yes
63
+ - CC=musl-gcc CGO_LDFLAGS="-static" CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go build -tags musl -ldflags="-s -w -X main.commit="00000000" -X main.date="1970-01-01T00:00:00Z" -X main.isTest=true" ./cmd/confluent
64
+
65
+ - name : darwin
36
66
dependencies : []
37
67
task :
38
68
agent :
39
69
machine :
40
70
type : s1-prod-macos-13-5-arm64
41
71
jobs :
42
- - name : darwin/arm64
72
+ - name : " Build & Test darwin/arm64"
43
73
commands :
44
74
- checkout
45
75
- sem-version go $(cat .go-version)
46
76
- export PATH=$(go env GOPATH)/bin:$PATH
47
77
- make test
78
+ - name : " Build darwin/amd64"
79
+ commands :
80
+ - checkout
81
+ - sem-version go $(cat .go-version)
82
+ - export PATH=$(go env GOPATH)/bin:$PATH
83
+ - GOARCH=amd64 CGO_ENABLED=1 go build -ldflags="-s -w -X main.commit="00000000" -X main.date="1970-01-01T00:00:00Z" -X main.isTest=true" ./cmd/confluent
48
84
epilogue :
49
85
always :
50
86
commands :
@@ -57,7 +93,7 @@ blocks:
57
93
machine :
58
94
type : s1-prod-windows
59
95
jobs :
60
- - name : windows/amd64
96
+ - name : " Build & Test windows/amd64"
61
97
commands :
62
98
- checkout
63
99
# https://confluentinc.atlassian.net/browse/DP-9532
0 commit comments