From 1f9584b3e40e70dd61af5fcfa7ecf174d02fe7c0 Mon Sep 17 00:00:00 2001 From: Gregor Jasny Date: Tue, 19 Dec 2023 00:55:41 +0100 Subject: [PATCH] build(bazel): Disable non-bazelmod with boringssl Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging In file included from external/_main~data_deps_ext~boringssl/src/crypto/evp/evp.c:65: In file included from external/_main~data_deps_ext~boringssl/src/include/openssl/mem.h:60: external/_main~data_deps_ext~boringssl/src/include/openssl/base.h:258:13: error: typedef redefinition with different types ('int' vs 'struct crypto_threadid_st') typedef int CRYPTO_THREADID; ^ /usr/local/include/openssl/crypto.h:309:3: note: previous definition is here } CRYPTO_THREADID; --- .github/workflows/bazel-ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bazel-ci.yml b/.github/workflows/bazel-ci.yml index a93bfdff..efb32dd7 100644 --- a/.github/workflows/bazel-ci.yml +++ b/.github/workflows/bazel-ci.yml @@ -29,15 +29,18 @@ jobs: if: runner.os == 'macOS' run: brew install telegraf - - name: Build with SSL - run: bazel build --config=ssl ${{ matrix.bazel_args }} //... + #- name: Build with SSL + # run: bazel build --config=ssl ${{ matrix.bazel_args }} //... - - name: Test with SSL - run: bazel test --config=ssl ${{ matrix.bazel_args }} --test_output=all //... + #- name: Test with SSL + # run: bazel test --config=ssl ${{ matrix.bazel_args }} --test_output=all //... - name: Build with SSL and bzlmod run: bazel build --enable_bzlmod --config=ssl ${{ matrix.bazel_args }} //... + - name: Test with SSL and bzlmod + run: bazel test --enable_bzlmod --config=ssl ${{ matrix.bazel_args }} --test_output=all //... + - name: Build run: bazel build //...