diff --git a/.bazelrc b/.bazelrc index 1255602..49917f5 100644 --- a/.bazelrc +++ b/.bazelrc @@ -16,11 +16,11 @@ # https://github.com/bazelbuild/rules_fuzzing/blob/f6062a88d83463e2900e47bc218547ba046dad44/.bazelrc # Force the use of Clang for all builds. -build --action_env=CC=clang-10 -build --action_env=CXX=clang++-10 +build --action_env=CC=clang-14 +build --action_env=CXX=clang++-14 -build --cxxopt=-std=c++14 -build --host_cxxopt=-std=c++14 +build --cxxopt=-std=c++20 +build --host_cxxopt=-std=c++20 # The ASAN configuration suitable for C++ unit tests. build:asan --copt=-fsanitize=address diff --git a/.bazelversion b/.bazelversion index 0c89fc9..fcdb2e1 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -4.0.0 \ No newline at end of file +4.0.0 diff --git a/script/ci.sh b/script/ci.sh index 2254b89..6050ceb 100755 --- a/script/ci.sh +++ b/script/ci.sh @@ -16,5 +16,8 @@ # ################################################################################ -bazel build //... -bazel test //... --test_output=errors +# TODO: Remove these two lines after getting rid of python2 dependencies. +apt-get upgrade +apt-get -y install python +bazelisk build //... +bazelisk test //... --test_output=errors