GMLC-TDC / HELICS

Hierarchical Engine for Large-scale Infrastructure Co-Simulation (HELICS)
https://docs.helics.org/en/latest/
BSD 3-Clause "New" or "Revised" License
126 stars 40 forks source link

Generate C API diff using GMLC-TDC/cheader2json #2695

Open nightlark opened 1 week ago

nightlark commented 1 week ago

After the release builds for a new release have finished, trigger a new workflow that uses https://github.com/GMLC-TDC/cheader2json (available on PyPI as cheader2json) to generate a JSON file with a diff of the functions that have changed in the HELICS C API between the last release and the current release.

The generate-diff action (https://github.com/GMLC-TDC/cheader2json/tree/main/actions/generate-diff) might be useful for this. Whether this action is used, or a source tarball from the latest GitHub releases, the header file to diff will be under src/helics/shared_api_library/backup/helics/helics.h