Skip to content

Commit

Permalink
ci: Bump minimal compilers versions
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 committed Nov 30, 2022
1 parent 698e019 commit 4482bb5
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 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 @@ -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 4482bb5

Please sign in to comment.