Skip to content

Commit

Permalink
Merge pull request #1314 from vissarion/fix/doc_ci
Browse files Browse the repository at this point in the history
[ci] Simplify the documentation CI
  • Loading branch information
vissarion committed Sep 30, 2024
2 parents 26fb3e5 + 09bc2be commit 966567f
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
# Copyright (c) 2020 Mateusz Loskot <[email protected]>
# Copyright (c) 2020 Adam Wulkiewicz, Lodz, Poland
#
# This file was modified by Oracle on 2024.
# Modifications copyright (c) 2024 Oracle and/or its affiliates.
# Contributed and/or modified by Vissarion Fysikopoulos, on behalf of Oracle
#
# Use, modification and distribution is subject to the Boost Software License,
# Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
Expand Down Expand Up @@ -84,22 +88,13 @@ jobs:
echo "using xsltproc ;" >> $HOME/user-config.jam
test -f $HOME/user-config.jam && cat $HOME/user-config.jam
- name: Install libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk
run: |
cd $BOOST_ROOT
$BOOST_ROOT/b2 variant=release libs/geometry/doc/src/docutils/tools/doxygen_xml2qbk
test -f /usr/local/bin/doxygen_xml2qbk && rm -rf /usr/local/bin/doxygen_xml2qbk
sudo cp $BOOST_ROOT/dist/bin/doxygen_xml2qbk /usr/local/bin/
ls -l /usr/local/bin/b2
doxygen_xml2qbk --version
- name: Build libs/geometry/doc/src/examples
- name: Build examples
run: |
cd $BOOST_ROOT
$BOOST_ROOT/b2 libs/geometry/doc/src/examples
- name: Run libs/geometry/doc/make_qbk.py
- name: Build documentation
run: |
cd $BOOST_ROOT
cd libs/geometry/doc
python ./make_qbk.py
$BOOST_ROOT/b2

0 comments on commit 966567f

Please sign in to comment.