bazel: fixup

This commit is contained in:
Corentin Le Molgat
2023-04-03 16:26:47 +02:00
parent 2de7d6fbac
commit 7a0fd2ceb8
3 changed files with 13 additions and 5 deletions

View File

@@ -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/...

View File

@@ -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",
],
)

View File

@@ -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",