paraview for ci and specific compilatin flag

Hello,

I am writing a paraview plugin that uses an external library that has it’s own hdf5 version. I think I can compile locally paraview with -DVTK_MODULE_USE_EXTERNAL_VTK_hdf5:BOOL=ON -DHDF5_DIR:PATH=<mypath> and then the plugin.

But how could I do that in a ci (a github one) ? I can not use the docker image kitware/paraview-for-ci
Should I create an image with hdf5 compiled and add a stage where I build paraview ? I will then be able to locate this specific version of hdf5 for my plugin

This sounds reasonable to me.

Thank you!