Skip to content

Commit

Permalink
Try building petsc/petsc4py
Browse files Browse the repository at this point in the history
  • Loading branch information
JDBetteridge committed Nov 7, 2024
1 parent 2ecea8b commit 49ba98f
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,20 @@ jobs:
with:
python-version: "3.12"

- name: Build and install PETSc
run: |
cd ..
git clone https://gitlab.com/petsc/petsc.git petsc
cd petsc
git checkout -b stefanozampini/fix-petsc4py-sdist
./configure \
--with-c2html=0 \
--with-debugging=0 \
--with-fortran-bindings=0 \
--with-shared-libraries=1 \
--with-petsc4py
make
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -
Expand All @@ -90,7 +104,9 @@ jobs:
poetry version ${{ needs.details.outputs.new_version }}
- name: Install dependencies
run: poetry install --sync --no-interaction
run: |
pip install ../petsc/src/binding/petsc4py
poetry install --sync --no-interaction
- name: Build source and wheel distribution
run: |
Expand Down

0 comments on commit 49ba98f

Please sign in to comment.