Skip to content

Commit

Permalink
CI: Fix documentation generation for macOS
Browse files Browse the repository at this point in the history
- Force Doxygen version 1.9.6, because 1.9.7 breaks our doc cool URIs,
  i.e. our system that maintain stable doc pages via redirection.

  Associated issue in Doxygen:
  doxygen/doxygen#10146

- Install graphviz to build the .dot files.
  • Loading branch information
wismill committed Jun 26, 2023
1 parent eec3890 commit 2c86216
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade meson PyYAML
brew install libxml2 doxygen bison ninja
brew install libxml2 bison ninja graphviz
# HACK: force Doxygen version 1.9.6, because 1.9.7 breaks our cool URIs.
curl -O https://raw.githubusercontent.com/Homebrew/homebrew-core/d2267b9f2ad247bc9c8273eb755b39566a474a70/Formula/doxygen.rb
brew install --formula doxygen.rb
rm doxygen.rb
brew link bison --force
env:
HOMEBREW_NO_AUTO_UPDATE: 1
Expand Down

0 comments on commit 2c86216

Please sign in to comment.