Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: gcc 14 in linux-gcc-thread-sanitizer #2166

Merged
merged 5 commits into from
Jul 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,14 @@ commands:

install_conan:
steps:
- run:
name: "Ensure pipx"
command: |
sudo apt-get update
sudo apt install -y pipx
- run:
name: "Install Conan"
command: sudo pip3 install conan==1.64.1 chardet
command: pipx install conan==1.64.1

build_using_conan:
parameters:
Expand Down Expand Up @@ -231,10 +236,14 @@ jobs:
environment:
BUILD_CMAKE_ARGS: -DSILKWORM_SANITIZE=thread
machine:
image: ubuntu-2204:2023.04.2
image: ubuntu-2404:2024.05.1
resource_class: 2xlarge
steps:
- checkout_with_submodules
- run:
name: "TSAN hack"
# https://stackoverflow.com/questions/77850769/fatal-threadsanitizer-unexpected-memory-mapping-when-running-on-linux-kernels
command: sudo sysctl vm.mmap_rnd_bits=30
- build_using_conan:
compiler_id: gcc
compiler_version: <<pipeline.parameters.gcc_version_latest>>
Expand Down Expand Up @@ -421,7 +430,7 @@ parameters:
default: 11
gcc_version_latest:
type: integer
default: 12
default: 14

workflows:
light:
Expand All @@ -431,9 +440,9 @@ workflows:
jobs:
- lint
- linux-release:
name: linux-gcc-<<pipeline.parameters.gcc_version_latest>>-release
name: linux-gcc-12-release
compiler_id: gcc
compiler_version: <<pipeline.parameters.gcc_version_latest>>
compiler_version: 12
ethereum_tests: false
requires:
- lint
Expand Down
Loading