srctree

Robin Linden parent 8d11c46d 51a97bcf
Automate --config flag setup when building with Bazel

.bazelrc added: 6, removed: 5, total 1
@@ -1,6 +1,7 @@
build --color=yes
build --enable_platform_specific_config
test --test_output=errors
test --test_verbose_timeout_warnings=true
 
build:gnulike --cxxopt="-std=c++2a"
build:msvc --cxxopt="/std:c++latest"
build:linux --cxxopt="-std=c++2a"
build:windows --cxxopt="/std:c++latest"
 
.github/workflows/ci-bazel.yaml added: 6, removed: 5, total 1
@@ -10,4 +10,4 @@ jobs:
- name: Test
run: |
bazel --version
CC=gcc-10 CXX=g++-10 bazel test ... --config=gnulike
CC=gcc-10 CXX=g++-10 bazel test ...