Skip to content

Commit c650e2a

Browse files
Thoemi09Wentzell
authored andcommitted
[ghactions] Fix doc build after app4triqs merge
1 parent 0907a06 commit c650e2a

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
@@ -109,8 +109,10 @@ jobs:
109109
echo "CXXFLAGS=-stdlib=libc++" >> $GITHUB_ENV
110110
111111
- name: Build h5
112+
env:
113+
BUILD_DOXYGEN_DOCS: ${{ matrix.os == 'macos-15' && matrix.cxx == 'clang++' && 'ON' || 'OFF' }}
112114
run: |
113-
cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=$HOME/install -DBuild_Documentation=${{ matrix.doc }}
115+
cmake -S . -B build -G Ninja -DCMAKE_INSTALL_PREFIX=$HOME/install -DBuild_Documentation=$BUILD_DOXYGEN_DOCS
114116
cmake --build build --verbose
115117
116118
- name: Test h5
@@ -131,7 +133,7 @@ jobs:
131133
key: ccache-${{ matrix.os }}-${{ matrix.cxx }}-${{ github.run_id }}-${{ github.run_attempt }}
132134

133135
- name: Deploy documentation
134-
if: matrix.doc == 'ON' && github.ref == 'refs/heads/unstable'
136+
if: matrix.os == 'macos-15' && matrix.cxx == 'clang++' && github.ref == 'refs/heads/unstable'
135137
uses: JamesIves/github-pages-deploy-action@v4
136138
with:
137139
folder: build/doc/html

0 commit comments

Comments
 (0)