Skip to content
This repository was archived by the owner on Jun 8, 2025. It is now read-only.

Commit 55a2109

Browse files
committed
ci: Upgrade compilers
1 parent 3644e58 commit 55a2109

File tree

1 file changed

+24
-11
lines changed

1 file changed

+24
-11
lines changed

circle.yml

Lines changed: 24 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ commands:
2121
name: "Install powerpc64 toolchain"
2222
command: |
2323
sudo apt -q update
24-
sudo apt -qy install g++-powerpc64-linux-gnu qemu-user-static
24+
sudo apt -qy install g++-powerpc64-linux-gnu lcov qemu-user-static
2525
2626
configure:
2727
steps:
@@ -86,8 +86,18 @@ commands:
8686
type: string
8787
steps:
8888
- run:
89-
name: "Upgrade codecov"
90-
command: sudo pip3 install --break-system-packages --upgrade --quiet --no-cache-dir codecov
89+
name: "Install codecov"
90+
command: |
91+
export CODECOV_VERSION=v0.6.2
92+
curl -Os https://uploader.codecov.io/$CODECOV_VERSION/linux/codecov
93+
curl -Os https://uploader.codecov.io/$CODECOV_VERSION/linux/codecov.SHA256SUM
94+
curl -Os https://uploader.codecov.io/$CODECOV_VERSION/linux/codecov.SHA256SUM.sig
95+
96+
gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
97+
shasum -c codecov.SHA256SUM
98+
99+
chmod +x codecov
100+
sudo mv codecov /usr/local/bin
91101
- run:
92102
name: "Upload to Codecov"
93103
command: |
@@ -117,7 +127,7 @@ jobs:
117127

118128
linux-gcc-coverage:
119129
docker:
120-
- image: ethereum/cpp-build-env:19-gcc-12
130+
- image: ethereum/cpp-build-env:20-gcc-13
121131
environment:
122132
- BUILD_TYPE: Coverage
123133
steps:
@@ -145,7 +155,7 @@ jobs:
145155

146156
linux-clang-sanitizers:
147157
docker:
148-
- image: ethereum/cpp-build-env:19-clang-15
158+
- image: ethereum/cpp-build-env:20-clang-16
149159
environment:
150160
- CMAKE_OPTIONS: -DSANITIZE=address,undefined,unsigned-integer-overflow,shift-exponent,implicit-conversion,nullability -DCMAKE_CXX_CLANG_TIDY=clang-tidy
151161
- ASAN_OPTIONS: allocator_may_return_null=1
@@ -159,7 +169,7 @@ jobs:
159169

160170
linux-32bit-asan:
161171
docker:
162-
- image: ethereum/cpp-build-env:19-gcc-12-multilib
172+
- image: ethereum/cpp-build-env:20-gcc-13-multilib
163173
environment:
164174
- BUILD_TYPE: RelWithDebInfo
165175
- CMAKE_OPTIONS: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/32bit.cmake -DSANITIZE=address
@@ -173,13 +183,16 @@ jobs:
173183

174184
powerpc64:
175185
docker:
176-
- image: ethereum/cpp-build-env:19-gcc-12
186+
- image: cimg/base:current-22.04
177187
environment:
178188
- TESTS_EXCLUDE: _oom|_multithreaded
179189
- BUILD_TYPE: Coverage
180190
- CMAKE_OPTIONS: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/powerpc64.cmake -DCMAKE_EXE_LINKER_FLAGS=-static
181191
steps:
182192
- checkout
193+
- run:
194+
name: Install codecov GPG key
195+
command: curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import
183196
- install-powerpc64
184197
- configure
185198
- build-tests
@@ -193,7 +206,7 @@ jobs:
193206

194207
linux-release:
195208
docker:
196-
- image: ethereum/cpp-build-env:16-clang-11
209+
- image: ethereum/cpp-build-env:20-gcc-12
197210
environment:
198211
CMAKE_OPTIONS: -DETHASH_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON
199212
steps:
@@ -248,7 +261,7 @@ jobs:
248261

249262
macos-xcode-tsan:
250263
macos:
251-
xcode: "13.4.1"
264+
xcode: 14.3.1
252265
environment:
253266
- CMAKE_OPTIONS: -DSANITIZE=thread
254267
- TSAN_OPTIONS: allocator_may_return_null=1
@@ -257,13 +270,13 @@ jobs:
257270

258271
macos-xcode-old:
259272
macos:
260-
xcode: "12.5.1"
273+
xcode: 12.5.1
261274
steps:
262275
- macos-defaults
263276

264277
macos-release:
265278
macos:
266-
xcode: "13.4.1"
279+
xcode: 14.3.1
267280
environment:
268281
- CMAKE_OPTIONS: -DETHASH_TESTING=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_PREFIX=~/project/dist
269282
steps:

0 commit comments

Comments
 (0)