diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 51ec03f3..4c293338 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -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: @@ -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 }} diff --git a/requirements.txt b/requirements.txt index a33adc78..95af36fe 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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