From c7343072e0787e3f7dbc501bf4c3da9682c73b18 Mon Sep 17 00:00:00 2001 From: jonmeow <46229924+jonmeow@users.noreply.github.com> Date: Tue, 11 Jan 2022 00:36:34 +0000 Subject: [PATCH] Workaround for libtool_check_unique errors --- .github/workflows/tests.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index b33c548263f92..bce1919dceb1a 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -128,8 +128,16 @@ jobs: # Build all targets first to isolate build failures. - name: Build (${{ matrix.build_mode }}) + env: + # 'libtool_check_unique failed to generate' workaround. + # https://github.com/bazelbuild/bazel/issues/14113#issuecomment-999794586 + BAZEL_USE_CPP_ONLY_TOOLCHAIN: 1 run: bazelisk build -c ${{ matrix.build_mode }} //...:all # Run all test targets. - name: Test (${{ matrix.build_mode }}) + env: + # 'libtool_check_unique failed to generate' workaround. + # https://github.com/bazelbuild/bazel/issues/14113#issuecomment-999794586 + BAZEL_USE_CPP_ONLY_TOOLCHAIN: 1 run: bazelisk test -c ${{ matrix.build_mode }} //...:all