9
9
- azure-osx
10
10
11
11
include :
12
- # These builders create the Docker sub-images for multi-arch push and each
13
- # will attempt to push the multi-arch image if they are the last builder
12
+ # This builder create and push the Docker images for all architectures
14
13
- stage : build
15
14
if : type = push
16
15
os : linux
17
16
arch : amd64
18
- dist : bionic
19
- go : 1.21 .x
17
+ dist : focal
18
+ go : 1.23 .x
20
19
env :
21
20
- docker
22
21
services :
@@ -26,44 +25,27 @@ jobs:
26
25
before_install :
27
26
- export DOCKER_CLI_EXPERIMENTAL=enabled
28
27
script :
29
- - go run build/ci.go docker -image -manifest amd64,arm64 -upload ethereum/client-go
30
-
31
- - stage : build
32
- if : type = push
33
- os : linux
34
- arch : arm64
35
- dist : bionic
36
- go : 1.21.x
37
- env :
38
- - docker
39
- services :
40
- - docker
41
- git :
42
- submodules : false # avoid cloning ethereum/tests
43
- before_install :
44
- - export DOCKER_CLI_EXPERIMENTAL=enabled
45
- script :
46
- - go run build/ci.go docker -image -manifest amd64,arm64 -upload ethereum/client-go
28
+ - go run build/ci.go dockerx -platform "linux/amd64,linux/arm64" -upload ethereum/client-go
47
29
48
30
# This builder does the Linux Azure uploads
49
31
- stage : build
50
32
if : type = push
51
33
os : linux
52
- dist : bionic
34
+ dist : focal
53
35
sudo : required
54
- go : 1.21 .x
36
+ go : 1.23 .x
55
37
env :
56
38
- azure-linux
57
39
git :
58
40
submodules : false # avoid cloning ethereum/tests
59
- addons :
60
- apt :
61
- packages :
62
- - gcc-multilib
63
41
script :
64
- # Build for the primary platforms that Trusty can manage
42
+ # build amd64
65
43
- go run build/ci.go install -dlgo
66
44
- go run build/ci.go archive -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds
45
+
46
+ # build 386
47
+ - sudo -E apt-get -yq --no-install-suggests --no-install-recommends install gcc-multilib
48
+ - git status --porcelain
67
49
- go run build/ci.go install -dlgo -arch 386
68
50
- go run build/ci.go archive -arch 386 -type tar -signer LINUX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds
69
51
@@ -85,61 +67,48 @@ jobs:
85
67
if : type = push
86
68
os : osx
87
69
osx_image : xcode14.2
88
- go : 1.21.x
70
+ go : 1.23.1 # See https://github.com/ethereum/go-ethereum/pull/30478
89
71
env :
90
72
- azure-osx
91
73
git :
92
74
submodules : false # avoid cloning ethereum/tests
93
75
script :
76
+ - ln -sf /Users/travis/gopath/bin/go1.23.1 /usr/local/bin/go # Work around travis go-setup bug
94
77
- go run build/ci.go install -dlgo
95
78
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds
96
79
- go run build/ci.go install -dlgo -arch arm64
97
80
- go run build/ci.go archive -arch arm64 -type tar -signer OSX_SIGNING_KEY -signify SIGNIFY_KEY -upload gethstore/builds
98
81
99
82
# These builders run the tests
100
83
- stage : build
84
+ if : type = push
101
85
os : linux
102
86
arch : amd64
103
- dist : bionic
104
- go : 1.21 .x
87
+ dist : focal
88
+ go : 1.23 .x
105
89
script :
106
- - travis_wait 30 go run build/ci.go test $TEST_PACKAGES
107
-
108
- - stage : build
109
- if : type = pull_request
110
- os : linux
111
- arch : arm64
112
- dist : bionic
113
- go : 1.20.x
114
- script :
115
- - travis_wait 30 go run build/ci.go test $TEST_PACKAGES
90
+ - travis_wait 45 go run build/ci.go test $TEST_PACKAGES
116
91
117
92
- stage : build
93
+ if : type = push
118
94
os : linux
119
- dist : bionic
120
- go : 1.20 .x
95
+ dist : focal
96
+ go : 1.22 .x
121
97
script :
122
- - travis_wait 30 go run build/ci.go test $TEST_PACKAGES
98
+ - travis_wait 45 go run build/ci.go test $TEST_PACKAGES
123
99
124
100
# This builder does the Ubuntu PPA nightly uploads
125
101
- stage : build
126
102
if : type = cron || (type = push && tag ~= /^v[0-9]/)
127
103
os : linux
128
- dist : bionic
129
- go : 1.21 .x
104
+ dist : focal
105
+ go : 1.23 .x
130
106
env :
131
107
- ubuntu-ppa
132
108
git :
133
109
submodules : false # avoid cloning ethereum/tests
134
- addons :
135
- apt :
136
- packages :
137
- - devscripts
138
- - debhelper
139
- - dput
140
- - fakeroot
141
- - python-bzrlib
142
- - python-paramiko
110
+ before_install :
111
+ - sudo -E apt-get -yq --no-install-suggests --no-install-recommends install devscripts debhelper dput fakeroot
143
112
script :
144
113
- echo '|1|7SiYPr9xl3uctzovOTj4gMwAC1M=|t6ReES75Bo/PxlOPJ6/GsGbTrM0= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA0aKz5UTUndYgIGG7dQBV+HaeuEZJ2xPHo2DS2iSKvUL4xNMSAY4UguNW+pX56nAQmZKIZZ8MaEvSj6zMEDiq6HFfn5JcTlM80UwlnyKe8B8p7Nk06PPQLrnmQt5fh0HmEcZx+JU9TZsfCHPnX7MNz4ELfZE6cFsclClrKim3BHUIGq//t93DllB+h4O9LHjEUsQ1Sr63irDLSutkLJD6RXchjROXkNirlcNVHH/jwLWR5RcYilNX7S5bIkK8NlWPjsn/8Ua5O7I9/YoE97PpO6i73DTGLh5H9JN/SITwCKBkgSDWUt61uPK3Y11Gty7o2lWsBjhBUm2Y38CBsoGmBw==' >> ~/.ssh/known_hosts
145
114
- go run build/ci.go debsrc -upload ethereum/ethereum -sftp-user geth-ci -signer "Go Ethereum Linux Builder <geth-ci@ethereum.org>"
@@ -148,8 +117,8 @@ jobs:
148
117
- stage : build
149
118
if : type = cron
150
119
os : linux
151
- dist : bionic
152
- go : 1.21 .x
120
+ dist : focal
121
+ go : 1.23 .x
153
122
env :
154
123
- azure-purge
155
124
git :
@@ -161,8 +130,9 @@ jobs:
161
130
- stage : build
162
131
if : type = cron
163
132
os : linux
164
- dist : bionic
165
- go : 1.21.x
133
+ dist : focal
134
+ go : 1.23.x
135
+ env :
136
+ - racetests
166
137
script :
167
- - travis_wait 30 go run build/ci.go test -race $TEST_PACKAGES
168
-
138
+ - travis_wait 60 go run build/ci.go test -race $TEST_PACKAGES
0 commit comments