Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SCons] Implement script to extract options from SConstruct #1136

Closed
wants to merge 11 commits into from
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,20 @@ 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: Capture configuration options from SConstruct
run: |
python3 site_scons/scons2rst.py --dev SConstruct config-options
mkdir build/docs/scons
mv config-options-dev.rst build/docs/scons/
- name: Create archive for docs output
run: |
cd build
tar -czf docs.tar.gz docs
- name: Store archive of docs output
uses: actions/upload-artifact@v2
with:
path: build/docs.tar.gz
retention-days: 2
# The known_hosts key is generated with `ssh-keygen -F cantera.org` from a
# machine that has previously logged in to cantera.org and trusts
# that it logged in to the right machine
Expand Down
Loading