Skip to content

Commit

Permalink
Update CI job & runner image
Browse files Browse the repository at this point in the history
  • Loading branch information
anarthal committed Sep 6, 2024
1 parent af232ef commit ee78aa8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
2 changes: 1 addition & 1 deletion tools/ci/ci_util/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def docs_build(
f.writelines(['using doxygen ;\n', 'using boostbook ;\n'])

# Run b2
run(['b2', '-j4', 'cxxstd=17', 'libs/mysql/doc//boostrelease'])
run(['b2', 'libs/mysql/doc//boostrelease'])

# Copy the resulting docs into a well-known path
output_dir = source_dir.joinpath('doc', 'html')
Expand Down
2 changes: 1 addition & 1 deletion tools/docker/build-docs.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#

FROM openjdk:11
FROM ubuntu:22.04

COPY tools/docker/install_build_docs.sh /

Expand Down
20 changes: 6 additions & 14 deletions tools/docker/install_build_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

set -e
GLOBIGNORE=".:.."
export DEBIAN_FRONTEND=noninteractive

# Install dependencies. rsync is needed by the GitHub action to upload the pages
apt-get update
Expand All @@ -16,22 +17,13 @@ apt-get install --no-install-recommends -y \
xsltproc \
wget \
ca-certificates \
clang-11 \
g++ \
python3 \
python-is-python3 \
rsync
ln -s /usr/bin/clang++-11 /usr/bin/clang++
ln -s /usr/bin/clang-11 /usr/bin/clang

# Install saxonhe
mkdir -p /tmp/saxonhe
cd /tmp/saxonhe
wget -q -O saxonhe.zip https://sourceforge.net/projects/saxon/files/Saxon-HE/9.9/SaxonHE9-9-1-4J.zip/download
unzip -o -qq saxonhe.zip
mkdir -p /usr/share/java/
mv saxon9he.jar /usr/share/java/Saxon-HE.jar
cd
rm -rf /tmp/saxonhe
python3-jinja2 \
rsync \
git \
unzip

# Install docbook XSL stylesheets
mkdir -p $DOCBOOK_XSL_DIR
Expand Down

0 comments on commit ee78aa8

Please sign in to comment.