Skip to content

Commit 1d331a4

Browse files
committed
Merge pull request #1315 from UncleGrumpy/emergency_doc_fix
Emergengy documentation build fix Recent CI updates bumped to the latest OTP-26 which has led to documentation build faulures. These changes temporarily revert to OTP-25 for building docs. These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 59da922 + 451540b commit 1d331a4

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build-docs.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,16 @@ jobs:
5252
os: [ ubuntu-24.04 ]
5353
# The type of runner that the job will run on
5454
runs-on: ${{ matrix.os }}
55-
# Documentation currently fails to build with OTP-27
56-
container: erlang:26
55+
# Documentation currently fails to build with OTP-27 and recent OTP-26.
56+
container: erlang:25
5757

5858
# Steps represent a sequence of tasks that will be executed as part of the job
5959
steps:
6060
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
6161
- name: Install Deps
6262
run: |
6363
apt update -y
64-
DEBIAN_FRONTEND=noninteractive apt install -y git cmake doxygen graphviz python3-pip python3-virtualenv python3.11-venv python3-setuptools python3-stemmer wget
64+
DEBIAN_FRONTEND=noninteractive apt install -y git cmake doxygen graphviz python3-pip python3-virtualenv python3-setuptools python3-stemmer wget
6565
6666
- uses: actions/cache@v4
6767
id: sphinx-cache
@@ -72,7 +72,7 @@ jobs:
7272
- name: Install Sphinx
7373
if: ${{ steps.sphinx-cache.outputs.cache-hit != 'true' }}
7474
run: |
75-
python3 -m venv /home/runner/python-env/sphinx
75+
virtualenv /home/runner/python-env/sphinx
7676
. /home/runner/python-env/sphinx/bin/activate
7777
python3 -m pip install sphinx
7878
python3 -m pip install myst-parser

.github/workflows/publish-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
- name: Install Sphinx
6464
if: ${{ steps.sphinx-cache.outputs.cache-hit != 'true' }}
6565
run: |
66-
python3 -m venv /home/runner/python-env/sphinx
66+
virtualenv /home/runner/python-env/sphinx
6767
. /home/runner/python-env/sphinx/bin/activate
6868
python3 -m pip install sphinx
6969
python3 -m pip install myst-parser
@@ -76,7 +76,7 @@ jobs:
7676
7777
- uses: erlef/setup-beam@v1
7878
with:
79-
otp-version: "26"
79+
otp-version: "25"
8080
elixir-version: "1.17"
8181
hexpm-mirrors: |
8282
https://builds.hex.pm

0 commit comments

Comments
 (0)