Skip to content

Commit 0ee7dca

Browse files
ci: Change the GH job that builds the documentation (cvc5#12076)
This PR changes the GH job used to build the documentation from `ubuntu:safe-mode` to `ubuntu:production-dbg`. The previous configuration was failing to generate some example outputs for the files specified in `base_options.toml` because certain options are not compatible with `safe-mode`.
1 parent d552b2f commit 0ee7dca

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,12 @@ jobs:
2626
run_regression_args: --tester base --tester model --tester synth --tester abduct --tester dump
2727

2828
- name: ubuntu:safe-mode
29-
os: ubuntu-24.04
30-
config: safe-mode --auto-download --all-bindings --editline --docs --docs-ga -DBUILD_GMP=1
29+
os: ubuntu-22.04
30+
config: safe-mode --auto-download --all-bindings --editline -DBUILD_GMP=1
3131
cache-key: production-safe
3232
strip-bin: strip
3333
python-bindings: true
3434
java-bindings: true
35-
java-version: 21
36-
build-documentation: true
3735
check-examples: true
3836
exclude_regress: 3-4
3937
run_regression_args: --tester base --tester proof --tester cpc --tester model --tester synth --tester abduct --tester dump
@@ -129,13 +127,18 @@ jobs:
129127
exclude_regress: 3-4
130128
run_regression_args: --tester base --tester model --tester synth --tester abduct --tester dump
131129

130+
# Job used to build the documentation
132131
- name: ubuntu:production-dbg
133-
os: ubuntu-22.04
134-
config: production --auto-download --assertions --tracing --unit-testing --all-bindings --editline --cocoa --gpl -DBUILD_GMP=1
132+
os: ubuntu-24.04 # Use Doxygen version from this Ubuntu release
133+
config: >-
134+
production --auto-download --assertions --tracing --unit-testing --editline
135+
--cocoa --gpl --all-bindings --docs --docs-ga -DBUILD_GMP=1
135136
cache-key: dbg
137+
python-bindings: true
138+
java-version: 21 # Use Javadoc from this Java version
139+
build-documentation: true
136140
exclude_regress: 3-4
137141
run_regression_args: --tester base --tester model --tester synth --tester abduct --tester proof --tester dump
138-
python-bindings: true
139142

140143
- name: ubuntu:production-dbg-clang
141144
os: ubuntu-22.04

0 commit comments

Comments
 (0)