Stable version for download
We would like to provide the possibility for users to download the latest stable version. This "version" should in fact be ready for compilation, i.e., it should include, e.g., a
configure script. One can even consider the possibility to provide fully-compiled versions.
Link to the repository
At the moment we include a link in
index.html, which points to an archive of the repository (excluding the git history, specifically the
The link path has the general form
https://gitlab.com/libvdwxc/libvdwxc/repository/archive.tar.gz?ref=<tag> where can be
master (as above) or a specific tag, e.g,
Link to a preprocessed or compiled version
Instead of providing a link to an archive of the repository, we probably want to provide a version that is ready for compilation. This can be realized by using artifacts, which are/can be generated as part of the CI pipeline. At the moment, our CI creates three artifacts. The
compile_library job keeps the
build directory, the
build_userguide job keeps the user guide in html format, and the
pages job prepares and keeps the
public directory for the homepage.
All these artifacts can be accessed using a link scheme similar to the one above:
<job> should be replaced with e.g.,
build_userguide. In addition to
download it is also possible to e.g.,
browse the artifact and even access individual files, follow this link for a comprehensive description. In principle, it should be possible
master with a tag (
0.2.0). At the moment I could not test this possibility for this repository since our only tag (
0.2.0) predates the CI.
We can thus rather easily provide ready to compile or run libraries by adding specific jobs to the CI configuration file. The
build_compile job already contains almost all the things we would need for providing a version with a
configure script. It is now mostly a matter of deciding what we want to provide and in which form.