bazel(ci): Add log
This commit is contained in:
@@ -59,12 +59,12 @@ You must compile OR-Tools using C++20:
|
||||
* on UNIX:
|
||||
|
||||
```sh
|
||||
bazel build --cxxopt=-std=c++20 //...:all
|
||||
bazel build --cxxopt=-std=c++17 ...
|
||||
```
|
||||
* on Windows when using MSVC:
|
||||
|
||||
```sh
|
||||
bazel build --cxxopt="-std:c++20" //...:all
|
||||
bazel build --cxxopt="-std:c++20" ...
|
||||
```
|
||||
|
||||
## Testing
|
||||
@@ -74,12 +74,12 @@ You may run tests using:
|
||||
* on UNIX:
|
||||
|
||||
```sh
|
||||
bazel test --cxxopt=-std=c++20 //...:all
|
||||
bazel test --cxxopt=-std=c++17 ...
|
||||
```
|
||||
* on Windows when using MSVC:
|
||||
|
||||
```sh
|
||||
bazel test --cxxopt="-std:c++20" //...:all
|
||||
bazel test --cxxopt="-std:c++20" ...
|
||||
```
|
||||
|
||||
## Integration
|
||||
|
||||
@@ -27,7 +27,7 @@ COPY . .
|
||||
|
||||
FROM devel AS build
|
||||
RUN bazel version
|
||||
RUN bazel build --host_javabase=@local_jdk//:jdk --cxxopt=-std=c++17 ...
|
||||
RUN bazel build -s --host_javabase=@local_jdk//:jdk --cxxopt=-std=c++17 ...
|
||||
|
||||
FROM build AS test
|
||||
RUN bazel test --host_javabase=@local_jdk//:jdk --cxxopt=-std=c++17 ...
|
||||
RUN bazel test --host_javabase=@local_jdk//:jdk --cxxopt=-std=c++17 --test_output=errors ...
|
||||
|
||||
@@ -16,7 +16,7 @@ COPY . .
|
||||
|
||||
FROM devel AS build
|
||||
RUN bazel version
|
||||
RUN bazel build -c opt --cxxopt=-std=c++17 ...
|
||||
RUN bazel build -s -c opt --cxxopt=-std=c++17 ...
|
||||
|
||||
FROM build AS test
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 ...
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 --test_output=errors ...
|
||||
|
||||
@@ -32,7 +32,7 @@ COPY . .
|
||||
|
||||
FROM devel AS build
|
||||
RUN bazel version
|
||||
RUN bazel build -c opt --cxxopt=-std=c++17 ...
|
||||
RUN bazel build -s -c opt --cxxopt=-std=c++17 ...
|
||||
|
||||
FROM build AS test
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 ...
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 --test_output=errors ...
|
||||
|
||||
@@ -30,7 +30,7 @@ COPY . .
|
||||
|
||||
FROM devel AS build
|
||||
RUN bazel version
|
||||
RUN bazel build -c opt --cxxopt=-std=c++17 ...
|
||||
RUN bazel build -s -c opt --cxxopt=-std=c++17 ...
|
||||
|
||||
FROM build AS test
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 ...
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 --test_output=errors ...
|
||||
|
||||
@@ -29,4 +29,4 @@ RUN bazel version
|
||||
RUN bazel build -c opt --cxxopt=-std=c++17 ...
|
||||
|
||||
FROM build AS test
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 ...
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 --test_output=errors ...
|
||||
|
||||
@@ -29,4 +29,4 @@ RUN bazel version
|
||||
RUN bazel build -c opt --cxxopt=-std=c++17 ...
|
||||
|
||||
FROM build AS test
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 ...
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 --test_output=errors ...
|
||||
|
||||
@@ -30,4 +30,4 @@ RUN bazel version
|
||||
RUN bazel build -c opt --cxxopt=-std=c++17 ...
|
||||
|
||||
FROM build AS test
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 ...
|
||||
RUN bazel test -c opt --cxxopt=-std=c++17 --test_output=errors ...
|
||||
|
||||
Reference in New Issue
Block a user