mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fix building docs in CI
Older versions of Sphinx don't work with whatever the default version of Python is on GitHub Actions, and never versions of Sphinx need a newer version of Python. Also update the RTD theme and Breathe while I'm at it.
This commit is contained in:
@@ -123,6 +123,10 @@ jobs:
|
||||
./libloot_internals_tests
|
||||
./libloot_tests
|
||||
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install packages for building docs
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -201,6 +205,10 @@ jobs:
|
||||
.\libloot_internals_tests.exe
|
||||
.\libloot_tests.exe
|
||||
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install packages for building docs
|
||||
run: |
|
||||
nuget install doxygen -Version 1.8.14
|
||||
|
||||
@@ -99,6 +99,10 @@ jobs:
|
||||
./libloot_internals_tests
|
||||
./libloot_tests
|
||||
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install packages for building docs
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -174,6 +178,10 @@ jobs:
|
||||
cmake .. -G "Visual Studio 15 2017" -A ${{ matrix.platform }} -DBOOST_ROOT="boost_1_72_0" -DCPACK_PACKAGE_VERSION="${{ steps.get-libloot-version.outputs.version }}"
|
||||
cmake --build . --config ${{ env.MSVC_CONFIG }}
|
||||
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Install packages for building docs
|
||||
run: |
|
||||
nuget install doxygen -Version 1.8.14
|
||||
|
||||
Reference in New Issue
Block a user