diff --git a/.bazelrc b/.bazelrc index a5e4252..9738818 100644 --- a/.bazelrc +++ b/.bazelrc @@ -8,9 +8,5 @@ test --//:werror --features external_include_paths # change detect_odr_violation to level 1 to check that test --test_env=ASAN_OPTIONS=detect_odr_violation=1 -# There are bugs about -fsanitize=address and -Wuninitialized -# as mentioned in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105616 -test:asan --features=asan - test:arenastring --//test/proto:arenastring test:mutable-donated-string --config=arenastring --copt=-DGOOGLE_PROTOBUF_MUTABLE_DONATED_STRING=1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2faced..40e35f3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: mode: [{name: dbg, flag: --compilation_mode=dbg}, {name: opt, flag: --compilation_mode=opt}] std: [{name: c++20, flag: --cxxopt=-std=c++20}, {name: c++14, flag: --cxxopt=-std=c++14}] stdlib: [{name: stdlibc++}, {name: libc++, flag: --cxxopt=-stdlib=libc++ --linkopt=-stdlib=libc++}] - feature: [{name: asan, flag: --config=asan}, {name: tsan, flag: --features=tsan}] + feature: [{name: asan, flag: --features=asan}, {name: tsan, flag: --features=tsan}] exclude: - compiler: {name: gcc} stdlib: {name: libc++} @@ -58,7 +58,7 @@ jobs: if: always() with: path: bazel-disk - key: bazel-disk-basic-${{matrix.compiler.name}}-${{github.sha}} + key: bazel-disk-compatible-${{matrix.compiler.name}}-${{github.sha}} arenastring: strategy: @@ -86,7 +86,7 @@ jobs: - if: ${{matrix.stdlib.name == 'libc++'}} run: sudo apt install libc++-18-dev libc++abi-18-dev - run: sed -i "/single_version_override.*protobuf/s/version = '[^']*'/version = '28.3.arenastring'/" MODULE.bazel - - run: bazel test --compilation_mode=opt --disk_cache=bazel-disk --verbose_failures --test_output=errors --config=asan --registry=https://bcr.bazel.build --registry=file://%workspace%/registry ${{matrix.compiler.flag}} ${{matrix.stdlib.flag}} ${{matrix.mutable.flag}} test/... + - run: bazel test --compilation_mode=opt --disk_cache=bazel-disk --verbose_failures --test_output=errors --features=asan --registry=https://bcr.bazel.build --registry=file://%workspace%/registry ${{matrix.compiler.flag}} ${{matrix.stdlib.flag}} ${{matrix.mutable.flag}} test/... - uses: actions/cache/save@v4 if: always() with: diff --git a/CMakeLists.txt b/CMakeLists.txt index 2f34e85..da30cf6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.14) -project(babylon VERSION 1.4.1) +project(babylon VERSION 1.4.2) include(CTest) # for BUILD_TESTING option include(CMakePackageConfigHelpers) # for write_basic_package_version_file diff --git a/MODULE.bazel b/MODULE.bazel index 6cae2a2..810a09b 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1,6 +1,6 @@ module( name = 'babylon', - version = '1.4.1', + version = '1.4.2', compatibility_level = 1, )