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

Upgrade repo and its examples to Bazel 7.2.1 #4

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
import %workspace%/.settings/bazelrc/debug.bazelrc

common --noenable_bzlmod

build --javacopt="--release 8"
2 changes: 1 addition & 1 deletion .bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.2.4
7.2.1
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Run tests
run: |
bazelisk test --jobs 2 --test_output=errors //...
bazelisk test --config=debug --jobs 2 --test_output=errors //...

- name: Shutdown Bazel
run: bazelisk shutdown
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ bazel-*
bazel-*/
.classpath
.project
.settings/
/bin/
19 changes: 19 additions & 0 deletions .settings/bazelrc/debug.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
############################################################
# Use `bazel test --config=debug` to enable these settings #
############################################################

# Stream stdout/stderr output from each test in real-time.
# Docs: https://bazel.build/docs/user-manual#test-output
test:debug --test_output=streamed

# Run one test at a time.
# Docs: https://bazel.build/reference/command-line-reference#flag--test_strategy
test:debug --test_strategy=exclusive

# Prevent long running tests from timing out.
# Docs: https://bazel.build/docs/user-manual#test-timeout
test:debug --test_timeout=9999

# Always run tests even if they have cached results.
# Docs: https://bazel.build/docs/user-manual#cache-test-results
test:debug --nocache_test_results
2 changes: 1 addition & 1 deletion examples/.bazelrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
build --incompatible_use_platforms_repo_for_constraints
common --noenable_bzlmod
2 changes: 1 addition & 1 deletion examples/.bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.4.1
7.2.1
1 change: 1 addition & 0 deletions examples/antlr4-opt/.bazelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
common --noenable_bzlmod
1 change: 1 addition & 0 deletions examples/antlr4-opt/.bazelversion
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.2.1
Loading