Skip to content

Commit

Permalink
ci: Bump minimal compilers versions (#535)
Browse files Browse the repository at this point in the history
Require GCC 11 (previously 10) and Clang 13 (previously 11).
Earlier versions do not have good C++20 support, in particular
the `using enum` feature.

Add xcode-min with Xcode 13.4.1 job to monitor minimal version required.
  • Loading branch information
chfast authored Nov 30, 2022
1 parent 698e019 commit 7d4d227
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ executors:
CMAKE_BUILD_PARALLEL_LEVEL: 8
linux-gcc-min:
docker:
- image: ethereum/cpp-build-env:15-gcc-10
- image: ethereum/cpp-build-env:17-gcc-11
resource_class: small
environment:
CMAKE_BUILD_PARALLEL_LEVEL: 2
Expand All @@ -43,7 +43,7 @@ executors:
CMAKE_BUILD_PARALLEL_LEVEL: 4
linux-clang-min:
docker:
- image: ethereum/cpp-build-env:16-clang-11
- image: ethereum/cpp-build-env:18-clang-13
resource_class: small
environment:
CMAKE_BUILD_PARALLEL_LEVEL: 2
Expand All @@ -57,7 +57,12 @@ executors:
macos:
xcode: 14.1.0
environment:
CMAKE_BUILD_PARALLEL_LEVEL: 2
CMAKE_BUILD_PARALLEL_LEVEL: 4
macos-xcode-min:
macos:
xcode: 13.4.1
environment:
CMAKE_BUILD_PARALLEL_LEVEL: 4

commands:
install_cmake:
Expand Down Expand Up @@ -454,7 +459,7 @@ jobs:
name: "Run evmone-fuzzer"
working_directory: ~/build
command: |
bin/evmone-fuzzer -runs=10000000 -fork=$CMAKE_BUILD_PARALLEL_LEVEL -fork_corpus_groups=1 ~/corpus -create_missing_dirs=1 -max_len=100 -entropic_scale_per_exec_time=1 2>&1 | sed '/NEW_FUNC/d'
bin/evmone-fuzzer -runs=5000000 -fork=$CMAKE_BUILD_PARALLEL_LEVEL -fork_corpus_groups=1 ~/corpus -create_missing_dirs=1 -max_len=100 -entropic_scale_per_exec_time=1 2>&1 | sed '/NEW_FUNC/d'
- save_cache:
name: "Save fuzzing corpus"
key: fuzzing-corpus-{{epoch}}
Expand All @@ -474,6 +479,15 @@ jobs:
- build
- test

xcode-min:
executor: macos-xcode-min
steps:
- run:
name: "Install System Dependencies"
command: HOMEBREW_NO_AUTO_UPDATE=1 brew install cmake
- build
- test

cmake-min:
executor: linux-base
steps:
Expand Down Expand Up @@ -516,5 +530,6 @@ workflows:
- clang-latest-sanitizers
- clang-latest-coverage
- macos-asan
- xcode-min
- gcc-32bit
- fuzzing

0 comments on commit 7d4d227

Please sign in to comment.