bazel(ci): Update native jobs

This commit is contained in:
Corentin Le Molgat
2022-06-01 10:12:16 +02:00
parent 048b04b885
commit f4c0a1202e
3 changed files with 6 additions and 6 deletions

View File

@@ -26,6 +26,6 @@ jobs:
sudo apt-get install bazel
bazel --version
- name: Build
run: bazel build --cxxopt=-std=c++20 //ortools/... //examples/...
run: bazel build -c opt --cxxopt=-std=c++20 //ortools/... //examples/...
- name: Test
run: bazel test --cxxopt=-std=c++20 //ortools/... //examples/...
run: bazel test -c opt --cxxopt=-std=c++20 --test_output=errors //ortools/... //examples/...

View File

@@ -19,6 +19,6 @@ jobs:
#brew install bazel
bazel --version
- name: Build
run: bazel build --cxxopt=-std=c++20 //ortools/... //examples/...
run: bazel build -c opt --cxxopt=-std=c++20 //ortools/... //examples/...
- name: Test
run: bazel test --cxxopt=-std=c++20 //ortools/... //examples/...
run: bazel test -c opt --cxxopt=-std=c++20 --test_output=errors //ortools/... //examples/...

View File

@@ -18,6 +18,6 @@ jobs:
choco install bazel
bazel --version
- name: Build
run: bazel build --cxxopt="-std:c++20" //ortools/... //examples/...
run: bazel build -c opt --cxxopt="-std:c++20" //ortools/... //examples/...
- name: Test
run: bazel test --cxxopt="-std:c++20" //ortools/... //examples/...
run: bazel test -c opt --cxxopt="-std:c++20" --test_output=errors //ortools/... //examples/...