SPHinXsys
SPHinXsys copied to clipboard
[CI] Build shared libraries
Generate shared libraries instead of static one. The objective is to reduce disk size consumed on the GitHub runners by the CI. Currently as static library, the binary code is duplicated many times across all example binaries. Building as shared library should solve that.
The same problem with fontconfig:x64-osx.
Does it reduce the memory consumption ?
Would you please give brief introduction of this PR?
It is as per request from @Xiangyu-Hu who needs to have a smaller footprint on the CI disk consumption. A description has been briefly added. I leave it the rest to him.
Something wrong with McOS ?
The MacOS GitHub runner image is different between the build job and the test job. 20230921.1 20231115.2
The more recent version has Python 3.12, while the older is on 3.11, hence the break. I don't know why there is such discrepancy between runners.