Skip to content

Commit

Permalink
ci: Add LaTeX to docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
vasylskorych committed Oct 1, 2023
1 parent 9e3c374 commit ea57e81
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build_linux.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2023, DyssolTEC. All rights reserved. This file is part of Dyssol. See LICENSE file for license information.

# A workflow for testing on Windows

name: Linux

on: [push]
Expand Down Expand Up @@ -75,7 +79,7 @@ jobs:
- uses: actions/checkout@v3

- name: Install build doc dependencies
run: sudo apt-get install doxygen graphviz python3-sphinx python3-sphinx-rtd-theme python3-breathe
run: sudo apt-get install doxygen graphviz python3-sphinx python3-sphinx-rtd-theme python3-breathe texlive-latex-extra

- name: Create build environment
run: cmake -E make_directory ${{github.workspace}}/build
Expand Down
25 changes: 21 additions & 4 deletions .github/workflows/build_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,27 @@ jobs:
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1

- name: Install Requirements
run: |
choco install graphviz doxygen.install
pip install -U sphinx sphinx-rtd-theme breathe
- name: Install Graphviz
run: choco install graphviz

- name: Install Doxygen
run: choco install doxygen.install

- name: Install Sphinx
run: pip install -U sphinx sphinx-rtd-theme breathe

- name: Install MiKTeX
run: |
choco install miktex --no-progress
echo "C:\Program Files\MiKTeX\miktex\bin\x64" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8
initexmf --admin --verbose --set-config-value=[MPM]AutoInstall=1
miktex --admin --verbose packages update-package-database
miktex --admin --verbose packages update
miktex --admin --verbose packages install amscls, anyfontsize, preview, zhmetrics
miktex --admin --verbose fndb refresh
initexmf --admin --verbose --update-fndb
initexmf --admin --verbose --mklinks --force
updmap --admin
- name: Build Docs
working-directory: ${{github.workspace}}
Expand Down

0 comments on commit ea57e81

Please sign in to comment.