Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 9 additions & 6 deletions tests/Test_bindings.Ubuntu1804/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ USER precice

ARG branch=develop

# Builds the precice python bindings for python3
RUN pip3 install --user https://github.com/precice/python-bindings/archive/$branch.zip

# Runs the python solverdummy with python3
WORKDIR $PRECICE_ROOT/tools/solverdummies/python
RUN python3 solverdummy.py ../precice-config.xml SolverOne MeshOne & python3 solverdummy.py ../precice-config.xml SolverTwo MeshTwo
# Clones the precice python bindings
WORKDIR /home/precice
RUN git clone https://github.com/precice/python-bindings/archive/$branch.zip
# Builds the precice python bindings
WORKDIR /home/precic/python-bindings
RUN pip3 install --user .

# Runs the python solverdummy
RUN cd solverdummy && python3 solverdummy.py precice-config.xml SolverOne MeshOne & python3 solverdummy.py precice-config.xml SolverTwo MeshTwo

# Builds the C solverdummy
WORKDIR $PRECICE_ROOT/tools/solverdummies/c
Expand Down
15 changes: 9 additions & 6 deletions tests/Test_bindings/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ RUN pip3 install --user cython mpi4py numpy enum34

ARG branch=develop

# Builds the precice python bindings for python3
RUN pip3 install --user https://github.com/precice/python-bindings/archive/$branch.zip

# Runs the python solverdummy with python3
WORKDIR $PRECICE_ROOT/tools/solverdummies/python
RUN python3 solverdummy.py ../precice-config.xml SolverOne MeshOne & python3 solverdummy.py ../precice-config.xml SolverTwo MeshTwo
# Clones the precice python bindings
WORKDIR /home/precice
RUN git clone https://github.com/precice/python-bindings/archive/$branch.zip
# Builds the precice python bindings
WORKDIR /home/precic/python-bindings
RUN pip3 install --user .

# Runs the python solverdummy
RUN cd solverdummy && python3 solverdummy.py precice-config.xml SolverOne MeshOne & python3 solverdummy.py precice-config.xml SolverTwo MeshTwo

# Builds the C solverdummy
WORKDIR $PRECICE_ROOT/tools/solverdummies/c
Expand Down