bazel(ci): fix fedora build by forcing the java_runtime_version
This commit is contained in:
@@ -36,7 +36,7 @@ COPY . .
|
||||
|
||||
FROM devel AS build
|
||||
RUN bazel version
|
||||
RUN bazel build --config=ci //ortools/... //examples/...
|
||||
RUN bazel build --java_runtime_version=remotejdk_21 --config=ci //ortools/... //examples/...
|
||||
|
||||
FROM build AS test
|
||||
RUN bazel test --config=ci //ortools/... //examples/...
|
||||
RUN bazel test --java_runtime_version=remotejdk_21 --config=ci //ortools/... //examples/...
|
||||
|
||||
Reference in New Issue
Block a user