phorgue / porousMultiphaseFoam

A porous multiphase toolbox for OpenFOAM
Other
124 stars 64 forks source link

Feature/opensuse mingw openfoam 2106 #22

Closed jmkerloch closed 2 years ago

jmkerloch commented 2 years ago

I'm working for Oslandia and we are using PMF in THYRSIS project for CEA. We are looking for a simplier way of using PMF and openfoam on Windows. Since openfoam.com provides pre-compiled binaries for windows (https://develop.openfoam.com/Development/openfoam/-/wikis/precompiled/windows), we will be using these binaries but we must also build PMF with mingw.

This PR provide build with mingw on opensus of PMF and provide an artifact with pre-compiled binaries.

This is done with a docker image building openfoam on mingw :

The docker image is then used to build pmf and the pre-compiled binaries are provided as artifact.

:warning: After merge a new commit must be added to avoid docker build at each commit Decomment #if: steps.changed-files.outputs.modified_files != ''in opensuse-mingw.yml :warning:

This is the first PR, we must also think about another PR which will provide the artifact as a release for PMF.