Skip to content

Commit

Permalink
Supporting Bazel 8 in CI (#147)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
phiwuu authored Dec 10, 2024
1 parent e026b8a commit 95db70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests-integration/projects/basic/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 95db70b

Please sign in to comment.