From e4acef31bae302ceceddfca5b77f451666358c37 Mon Sep 17 00:00:00 2001 From: Robert Stupp Date: Fri, 17 Jul 2026 10:49:20 +0200 Subject: [PATCH] Improve invocation of the conformance tests --- conformance/run-conformance-tests.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/conformance/run-conformance-tests.sh b/conformance/run-conformance-tests.sh index bcb13fd4..1e614aa6 100755 --- a/conformance/run-conformance-tests.sh +++ b/conformance/run-conformance-tests.sh @@ -28,6 +28,14 @@ cd submodules/cel-spec || exit 1 # Bazel version 6.4.0 works, 7.0.2 does not work with the conformance tests export USE_BAZEL_VERSION="6.5.0" +if [[ -z "${CC:-}" ]] && command -v gcc >/dev/null 2>&1; then + export CC="$(command -v gcc)" +fi +if [[ -z "${CXX:-}" ]] && command -v g++ >/dev/null 2>&1; then + export CXX="$(command -v g++)" +fi + +bazel sync --configure || exit 1 bazel build ... || exit 1 cel_java_skips=(