From a4b92527c4bd917fbde8efb6f9f4d06fd66da0f1 Mon Sep 17 00:00:00 2001 From: Igor Krivenko Date: Thu, 14 Nov 2024 14:05:27 +0100 Subject: [PATCH] [CI] Fix workflow failures related to compilation of docs --- .github/workflows/build-and-test-macos.yml | 3 ++- .github/workflows/build-and-test-ubuntu.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-and-test-macos.yml b/.github/workflows/build-and-test-macos.yml index 233e6fe4..2fcd634d 100644 --- a/.github/workflows/build-and-test-macos.yml +++ b/.github/workflows/build-and-test-macos.yml @@ -50,7 +50,8 @@ jobs: env: CXX: ${{ matrix.compiler.cxx }} run: | - if [[ "${{ matrix.compiler.name }}" == clang* ]]; then + if [[ "${{ matrix.compiler.name }}" == clang* && + "${{ matrix.install-libcommute }}" == true ]]; then DOCS=ON else DOCS=OFF diff --git a/.github/workflows/build-and-test-ubuntu.yml b/.github/workflows/build-and-test-ubuntu.yml index 621948f2..6c9d4ca8 100644 --- a/.github/workflows/build-and-test-ubuntu.yml +++ b/.github/workflows/build-and-test-ubuntu.yml @@ -51,7 +51,8 @@ jobs: env: CXX: ${{ matrix.compiler.cxx }} run: | - if [[ "${{ matrix.compiler.name }}" == clang* ]]; then + if [[ "${{ matrix.compiler.name }}" == clang* && + "${{ matrix.install-libcommute }}" == true ]]; then DOCS=ON else DOCS=OFF