bazel: fixup
This commit is contained in:
14
.github/workflows/bazel_linux.yml
vendored
14
.github/workflows/bazel_linux.yml
vendored
@@ -30,6 +30,16 @@ jobs:
|
||||
- name: Check Bazel
|
||||
run: bazel version
|
||||
- name: Build
|
||||
run: bazel build -c opt --cxxopt=-std=c++17 --subcommands=true //ortools/... //examples/...
|
||||
run: >
|
||||
bazel build
|
||||
-c opt
|
||||
--action_env=BAZEL_CXXOPTS="-std=c++17"
|
||||
--subcommands=true
|
||||
ortools/... examples/...
|
||||
- name: Test
|
||||
run: bazel test -c opt --cxxopt=-std=c++17 --test_output=errors //ortools/... //examples/...
|
||||
run: >
|
||||
bazel test
|
||||
-c opt
|
||||
--action_env=BAZEL_CXXOPTS="-std=c++17"
|
||||
--test_output=errors
|
||||
ortools/... examples/...
|
||||
|
||||
@@ -26,7 +26,6 @@ def code_sample_cc(name):
|
||||
"//ortools/graph:linear_assignment",
|
||||
"//ortools/graph:max_flow",
|
||||
"//ortools/graph:min_cost_flow",
|
||||
"//ortools/graph:shortestpaths",
|
||||
],
|
||||
)
|
||||
|
||||
@@ -42,7 +41,6 @@ def code_sample_cc(name):
|
||||
"//ortools/graph:linear_assignment",
|
||||
"//ortools/graph:max_flow",
|
||||
"//ortools/graph:min_cost_flow",
|
||||
"//ortools/graph:shortestpaths",
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
@@ -173,7 +173,7 @@ cc_library(
|
||||
":cp_model_cc_proto",
|
||||
":cp_model_utils",
|
||||
":sat_parameters_cc_proto",
|
||||
":util",
|
||||
":util",
|
||||
"//ortools/base",
|
||||
"//ortools/base:hash",
|
||||
"//ortools/port:proto_utils",
|
||||
|
||||
Reference in New Issue
Block a user