From 95db70b5f05f63446ff6d11240010b125e431e22 Mon Sep 17 00:00:00 2001 From: Philipp Wullstein-Kammler <111539239+phiwuu@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:37:55 +0100 Subject: [PATCH] Supporting Bazel 8 in CI (#147) The CI uses Bazel 8, but we are still using WORKSPACES in our setup. Bazel 8 disables WORKSPACES by default. Hence adding `--enable_workspace` to restore the behavior of Bazel 7. --- tests-integration/projects/basic/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests-integration/projects/basic/Makefile b/tests-integration/projects/basic/Makefile index e15f644e..a6f3f8ab 100644 --- a/tests-integration/projects/basic/Makefile +++ b/tests-integration/projects/basic/Makefile @@ -21,7 +21,7 @@ cppcode.lobster: foo.h foo.cpp --out="cppcode.lobster" --clang-tidy $(CLANG_TIDY) gtests.lobster: foo.h foo.cpp test.cpp - @bazel test foo_test --cxxopt='-std=c++14' + @bazel test foo_test --cxxopt='-std=c++14' --enable_workspace @lobster-gtest $(LOBSTER_ROOT)/bazel-out/*/testlogs/$(THIS_TEST) \ --out="gtests.lobster" sed -i s/$(THIS_TEST_ESCAPED)\\///g gtests.lobster