Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
jhale committed Oct 18, 2024
1 parent a15fd25 commit 365b0d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ jobs:

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libffi-dev
sudo apt-get install catch2 cmake g++ libboost-dev libboost-timer-dev libhdf5-mpi-dev libparmetis-dev libpugixml-dev libspdlog-dev mpi-default-dev ninja-build pkg-config
- name: Set up Python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -134,6 +132,8 @@ jobs:
- name: Build Python interface
run: |
sudo apt-get -y update
sudo apt-get -y install libffi-dev
pip install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Debug" 'python/[test]'
python -c "from mpi4py import MPI; import dolfinx; assert not dolfinx.has_petsc4py"
Expand Down Expand Up @@ -181,8 +181,6 @@ jobs:
- name: Install FEniCS Python components
if: github.event_name == 'workflow_dispatch'
run: |
apt-get -y update
apt-get -y install libffi-dev
pip install git+https://github.com/FEniCS/ufl.git@${{ github.event.inputs.ufl_ref }}
pip install git+https://github.com/FEniCS/basix.git@${{ github.event.inputs.basix_ref }}
pip install git+https://github.com/FEniCS/ffcx.git@${{ github.event.inputs.ffcx_ref }}
Expand Down Expand Up @@ -218,6 +216,8 @@ jobs:

- name: Build Python interface
run: |
apt-get -y update
apt-get -y install libffi-dev
pip install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Debug" 'python/[test]'
python -c "from mpi4py import MPI; import dolfinx; assert dolfinx.has_adios2; assert dolfinx.has_kahip; assert not dolfinx.has_parmetis; assert dolfinx.has_petsc; assert dolfinx.has_petsc4py; assert dolfinx.has_ptscotch; assert dolfinx.has_slepc; assert dolfinx.has_complex_ufcx_kernels"
Expand Down Expand Up @@ -254,8 +254,6 @@ jobs:
- name: Install FEniCS Python components (default branches/tags)
if: github.event_name != 'workflow_dispatch'
run: |
apt-get -y update
apt-get -y install libffi-dev
pip install git+https://github.com/FEniCS/ufl.git
pip install git+https://github.com/FEniCS/basix.git
pip install git+https://github.com/FEniCS/ffcx.git
Expand All @@ -274,6 +272,8 @@ jobs:
- name: Build Python interface
run: |
apt-get -y update
apt-get -y install libffi-dev
pip install -r python/build-requirements.txt
pip install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Debug" 'python/[docs]'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/oneapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
- name: Install compiler dependencies
run: |
apt-get -y update
apt-get -y install libffi-dev
apt-get -y install binutils libstdc++-14-dev
- uses: actions/checkout@v4
Expand Down Expand Up @@ -98,7 +99,6 @@ jobs:
- name: Build DOLFINx Python interface
run: |
apt-get -y install libffi-dev
pip -v install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Developer" python/
- name: Run DOLFINx demos (Python, serial)
run: python -m pytest -v -n=2 -m serial --durations=10 python/demo/test.py
Expand Down

0 comments on commit 365b0d0

Please sign in to comment.