File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments