bazel(ci): fix fedora build by forcing the java_runtime_version

This commit is contained in:
Corentin Le Molgat
2025-12-15 15:01:57 +01:00
parent 8802f29059
commit c44eb1859f

View File

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