Add CI workflow for compilation and regression testing of libinchi using gcc and musl (a popular C standard library). Flawless compilation with musl has become possible with 1.07-beta.3's definition of is_ascii in _INCHI-1-SRC/INCHIBASE/src/util.c (see commit c778dfa).
Changes to the CI workflow:
rename existing gcc+glibc job
move most steps of the workflow to a reusable Action
uploaded artifacts (test logs/reports) from different jobs receive distinct names
show information on gcc and ldd
use alpine as docker image for the gcc+musl job
Lessons learned:
actions/setup-python cannot be used in Alpine containers, so Python installation is done via Alpine's package manager.
Virtual environments in Python do not work across different workflow steps, thus special care needs to be taken for Python's package manager pip due to PEP 668.
musl's ldd --version does not return with exitcode 0.
Add CI workflow for compilation and regression testing of libinchi using gcc and musl (a popular C standard library). Flawless compilation with musl has become possible with 1.07-beta.3's definition of
is_ascii
in _INCHI-1-SRC/INCHIBASE/src/util.c (see commit c778dfa).Changes to the CI workflow:
Lessons learned:
ldd --version
does not return with exitcode 0.