Skip to content

Commit

Permalink
Update toolchain to support 'scons help'
Browse files Browse the repository at this point in the history
  • Loading branch information
ischoegl committed Nov 22, 2021
1 parent f8aa366 commit e0b4ba1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ jobs:
repository: Cantera/cantera
path: cantera
ref: 2.5
- uses: actions/checkout@v2
name: Checkout Cantera 'main' repository
with:
submodules: recursive
repository: Cantera/cantera
path: cantera-dev
- uses: actions/checkout@v2
name: Checkout Cantera Jupyter repository
with:
Expand Down Expand Up @@ -60,6 +66,14 @@ jobs:
run: python3 -m pip install -r requirements.txt
working-directory: ${{ env.WEBSITE_CLONE_DIR }}

# Parse SCons configuration for development version and move reST file
- name: Parse configuration options from Cantera SConstruct as reST
run: |
cd cantera-dev
python3 `which scons` help --restructured-text --dev --output=scons-config-options-dev.rst
cd ..
mv -f cantera-dev/scons-config-options-dev.rst ${{ env.WEBSITE_CLONE_DIR }}/pages/compiling/
- name: Build the site
run: NIKOLA_DEBUG=1 nikola build
working-directory: ${{ env.WEBSITE_CLONE_DIR }}
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ nbconvert==5.6.1
# Pin until the bootstrap.py plugin here can be updated.
# Something with docutils==0.17 broke that plugin
docutils==0.16
scons>=3.0.0

0 comments on commit e0b4ba1

Please sign in to comment.