Skip to content

Commit 97c8624

Browse files
authored
Merge pull request #8564 from tautschnig/fix-doc-build
Fix publish workflow
2 parents 36b2335 + 07cf0bb commit 97c8624

File tree

9 files changed

+445
-247
lines changed

9 files changed

+445
-247
lines changed

Diff for: .github/workflows/doxygen-check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
check-doxygen:
99
# Note that the versions used for this `check-doxygen` job should be kept in
1010
# sync with the `publish` job.
11-
runs-on: ubuntu-22.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Fetch dependencies

Diff for: .github/workflows/publish.yaml

+5-8
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,28 @@ jobs:
66
publish:
77
# Note that the versions used for this `publish` job should be kept in sync
88
# with the `check-doxygen` job.
9-
runs-on: ubuntu-22.04
9+
runs-on: ubuntu-24.04
1010
steps:
1111
- name: Checkout repository
1212
uses: actions/checkout@v4
1313

1414
- name: Install doxygen
1515
run: |
1616
sudo apt update
17-
sudo apt install doxygen graphviz pandoc npm
18-
19-
- name: Install python modules
20-
run: sudo python3 -m pip install gitpython pandocfilters
17+
sudo apt-get install --no-install-recommends -y doxygen graphviz pandoc npm python3-git python3-pandocfilters
2118
2219
- name: Install mermaid diagram filter
2320
run: |
2421
git clone https://github.com/raghur/mermaid-filter/
2522
cd mermaid-filter
26-
sed -i '1s/{/{ "overrides": { "puppeteer": "^21" },/' package.json
27-
sed -i '1s/^\/\/ //' index.js
2823
npm install --loglevel verbose
2924
sudo npm link --loglevel verbose
3025
cd ..
3126
3227
- name: Build documentation
33-
run: cd doc/doxygen-root && make && touch html/.nojekyll
28+
run: |
29+
echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns
30+
cd doc/doxygen-root && make && touch html/.nojekyll
3431
3532
- name: Publish documentation
3633
if: ${{ github.event_name == 'push' && startsWith('refs/heads/develop', github.ref) }}

Diff for: doc/API/util/piped_process.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
\page piped-process `src/util/piped_process.{cpp, h}`
1+
\page piped-process The `piped_process` API
22

3-
To utilise the `piped_process` API for interprocess communication with any binary:
3+
To utilise the `piped_process` API (`src/util/piped_process.{cpp, h}`) for
4+
interprocess communication with any binary:
45

56
* You need to initialise it by calling the construct `piped_processt("binary with args")`.
67
* If IPC fails before child process creation, you will get a `system_exceptiont`.

Diff for: doc/architectural/front-page.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ license</a>.
5454
Overview of Documentation
5555
=======
5656

57-
### For users:
57+
## For users:
5858

5959
* The [CPROVER User Manual](http://www.cprover.org/cprover-manual/) details the
6060
capabilities of CBMC and describes how to install and use these tools. It
@@ -68,7 +68,7 @@ you can access it <a href=
6868
* \subpage memory-bounds-checking
6969
* \subpage satabs
7070

71-
### For contributors:
71+
## For contributors:
7272

7373
The following pages attempt to provide the information that a developer needs to
7474
work on CBMC, in a sensible order. In many cases they link to the appropriate

Diff for: doc/architectural/goto-program-transformations.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ This pass adds failed symbols to the symbol table. See
176176
`src/pointer-analysis/add_failed_symbols.h` for details. The implementation of
177177
this pass is called via \ref add_failed_symbols(symbol_table_baset &) . The
178178
purpose of failed symbols is explained in the documentation of the function \ref
179-
goto_symext::dereference(exprt &, statet &, bool)
179+
goto_symext::dereference(exprt &, goto_symex_statet &, bool)
180180

181181
<em>Predecessor pass is \ref update-transform or the optional \ref
182182
nondet-transform if it is being used.</em>

Diff for: doc/assets/xml_spec.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ The path from the input C code to XML trace goes through the following
475475
steps:\
476476
`C``GOTO``SSA``GOTO Trace``XML Trace`
477477

478-
#### SSA to GOTO Trace
478+
### SSA to GOTO Trace
479479

480480
SSA steps are sorted by clocks and the following steps are skipped: PHI,
481481
GUARD assignments; shared-read, shared-write, constraint, spawn,

Diff for: scripts/run_doxygen.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
echo "Running doxygen version $(doxygen --version)"
44

55
# Check doxygen version
6-
EXPECTED_VERSION="1.9.1"
6+
EXPECTED_VERSION="1.9.8"
77
doxygen --version | grep ^$EXPECTED_VERSION > /dev/null
88
if [ $? -ne 0 ]
99
then

0 commit comments

Comments
 (0)