bazel(ci): Add log

This commit is contained in:
Corentin Le Molgat
2022-05-20 09:39:59 +02:00
parent af43bb7433
commit 5e95617d57
8 changed files with 15 additions and 15 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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