srctree

Robin Linden parent a7d37721 3b117edf
build: Drop the release and debug --config flags

Using -c opt/dbg is more standard and we don't do anything else inrelease/debug.

inlinesplit
.bazelrc added: 8, removed: 14, total 0
@@ -1,9 +1,3 @@
# Build configuration
# =========================================================
 
build:debug -c dbg
build:release -c opt
 
# Bazel configuration
# =========================================================
 
 
.bazelrc.local.example added: 8, removed: 14, total 0
@@ -3,8 +3,8 @@
# Copy this to .bazelrc.local and adjust.
 
# Choose a build type
build --config debug
# build --config release
build -c dbg
# build -c opt
 
# Choose a compiler
build --config clang
 
.github/workflows/ci.yaml added: 8, removed: 14, total 0
@@ -123,13 +123,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Build
run: bazel build ///... --config debug
run: bazel build ... -c dbg
- name: Test
run: bazel test ///... --config debug
run: bazel test ... -c dbg
# TODO(robinlinden): This no longer runs in CI due to http://example.com
# being inaccessible.
# - name: Run
# run: bazel run browser:tui --config debug
# run: bazel run browser:tui -c dbg
 
windows-clang-cl:
runs-on: windows-2022