bazel(ci): Update native jobs
This commit is contained in:
4
.github/workflows/bazel_linux.yml
vendored
4
.github/workflows/bazel_linux.yml
vendored
@@ -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/...
|
||||
|
||||
4
.github/workflows/bazel_macos.yml
vendored
4
.github/workflows/bazel_macos.yml
vendored
@@ -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/...
|
||||
|
||||
4
.github/workflows/bazel_windows.yml
vendored
4
.github/workflows/bazel_windows.yml
vendored
@@ -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/...
|
||||
|
||||
Reference in New Issue
Block a user