File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,13 +108,8 @@ tasks:
108108 bazel : ${{ bazel }}
109109 build_flags :
110110 - " --keep_going"
111- - ' --cxxopt=-std=c++17'
112- - ' --host_cxxopt=-std=c++17'
113111 test_flags :
114- # Minimum bazel supported C++
115112 - " --keep_going"
116- - ' --cxxopt=-std=c++17'
117- - ' --host_cxxopt=-std=c++17'
118113 build_targets :
119114 - " //..."
120115 test_targets :
Original file line number Diff line number Diff line change @@ -5,6 +5,17 @@ startup --windows_enable_symlinks
55
66common --enable_bzlmod
77common --lockfile_mode=update
8+ # This adds an implicit --config=<osname>
9+ # See docs for osname values
10+ # https://bazel.build/reference/command-line-reference#common_options-flag--enable_platform_specific_config
11+ common --enable_platform_specific_config
12+
13+ common:windows --cxxopt=/std=c++17
14+ common:windows --host_cxxopt=/std=c++17
15+ common:linux --cxxopt=-std=c++17
16+ common:linux --host_cxxopt=-std=c++17
17+ common:macos --cxxopt=-std=c++17
18+ common:macos --host_cxxopt=-std=c++17
819
920coverage --java_runtime_version=remotejdk_11
1021
You can’t perform that action at this time.
0 commit comments