Skip to content

Commit aafd677

Browse files
committed
[ghactions] Fix doc build after app4triqs merge
1 parent b6f767c commit aafd677

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,10 @@ jobs:
106106
echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV
107107
108108
- name: Build itertools
109+
env:
110+
BUILD_DOXYGEN_DOCS: ${{ matrix.os == 'macos-15' && matrix.cxx == 'clang++' && 'ON' || 'OFF' }}
109111
run: |
110-
cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=$HOME/install -DBuild_Documentation=${{ matrix.doc }}
112+
cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=$HOME/install -DBuild_Documentation=$BUILD_DOXYGEN_DOCS
111113
cmake --build build --verbose
112114
113115
- name: Test itertools
@@ -128,7 +130,7 @@ jobs:
128130
key: ccache-${{ matrix.os }}-${{ matrix.cxx }}-${{ github.run_id }}-${{ github.run_attempt }}
129131

130132
- name: Deploy documentation
131-
if: matrix.doc == 'ON' && github.ref == 'refs/heads/unstable'
133+
if: matrix.os == 'macos-15' && matrix.cxx == 'clang++' && github.ref == 'refs/heads/unstable'
132134
uses: JamesIves/github-pages-deploy-action@v4
133135
with:
134136
folder: build/doc/html

0 commit comments

Comments
 (0)