Skip to content

Commit

Permalink
[CI] Implicitly test 'scons help' options in 'Build docs' runner
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl committed Nov 21, 2021
1 parent e67c073 commit d9a9aac
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,16 @@ jobs:
sphinxcontrib-katex sphinxcontrib-matlabdomain sphinxcontrib-doxylink
- name: Build Cantera with documentation
run: python3 `which scons` build -j2 doxygen_docs=y sphinx_docs=y debug=n optimize=n use_pch=n
- name: Ensure 'scons help' options work
run: |
python3 `which scons` help --options
python3 `which scons` help --list-options
python3 `which scons` help --option=prefix
- name: Parse configuration options from SConstruct as reST
run: |
python3 `which scons` help --restructured-text --dev --output=config-options.rst
mkdir build/docs/scons
mv config-options-dev.rst build/docs/scons/
- name: Create archive for docs output
run: |
cd build
Expand Down

0 comments on commit d9a9aac

Please sign in to comment.