Skip to content

Commit

Permalink
Store CMAKE_PREFIX_PATH among environment variables to allow correct …
Browse files Browse the repository at this point in the history
…detection of real and complex DOLFINx builds
  • Loading branch information
francesco-ballarin committed Nov 15, 2023
1 parent 767720e commit babe0b5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,22 +45,24 @@ jobs:
rm /usr/local/lib/python3.11/site-packages/petsc4py/py.typed
python3 -m pip install nanobind scikit-build-core[pyproject]
- backend: dolfinx-real
container: dolfinx/dolfinx:nightly
container: ghcr.io/fenics/dolfinx/dolfinx:nightly
setup_container: |
. /usr/local/bin/dolfinx-real-mode
echo "PETSC_ARCH=$PETSC_ARCH" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >> $GITHUB_ENV
echo "CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH" >> $GITHUB_ENV
rm /usr/local/lib/python3.10/dist-packages/petsc4py/py.typed
- backend: dolfinx-complex
container: dolfinx/dolfinx:nightly
container: ghcr.io/fenics/dolfinx/dolfinx:nightly
setup_container: |
. /usr/local/bin/dolfinx-complex-mode
echo "PETSC_ARCH=$PETSC_ARCH" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
echo "PYTHONPATH=$PYTHONPATH" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH" >> $GITHUB_ENV
echo "CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH" >> $GITHUB_ENV
rm /usr/local/lib/python3.10/dist-packages/petsc4py/py.typed
fail-fast: false
container:
Expand Down

0 comments on commit babe0b5

Please sign in to comment.