From 7d4d227b8a1550ed80709a7d2300425495b348bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Wed, 30 Nov 2022 17:17:16 +0100 Subject: [PATCH] ci: Bump minimal compilers versions (#535) 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. --- circle.yml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/circle.yml b/circle.yml index 5df30755cf..8be835818e 100644 --- a/circle.yml +++ b/circle.yml @@ -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 @@ -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 @@ -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: @@ -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}} @@ -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: @@ -516,5 +530,6 @@ workflows: - clang-latest-sanitizers - clang-latest-coverage - macos-asan + - xcode-min - gcc-32bit - fuzzing