mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Copy docs from C++ libloot
This commit is contained in:
@@ -159,6 +159,26 @@ jobs:
|
||||
working-directory: cpp
|
||||
run: ctest --test-dir build --build-config ${{ env.CMAKE_CONFIG }} --output-on-failure --parallel
|
||||
|
||||
- name: Install packages for building docs (Linux)
|
||||
working-directory: cpp
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y --no-upgrade doxygen
|
||||
pip3 install --user -r docs/requirements.txt
|
||||
if: runner.os == 'Linux'
|
||||
|
||||
- name: Install packages for building docs (Windows)
|
||||
working-directory: cpp
|
||||
run: |
|
||||
nuget install doxygen -Version 1.8.14
|
||||
echo "${{ github.workspace }}\Doxygen.1.8.14\tools" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
python -m pip install -r docs/requirements.txt
|
||||
if: runner.os == 'Windows'
|
||||
|
||||
- name: Build docs
|
||||
working-directory: cpp
|
||||
run: sphinx-build -b html docs build/docs/html
|
||||
|
||||
- name: Package the C++ wrapper
|
||||
working-directory: cpp/build
|
||||
run: cpack -C ${{ env.CMAKE_CONFIG }}
|
||||
|
||||
Reference in New Issue
Block a user