Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release automation #1

Open
5 tasks
JanCBrammer opened this issue Dec 12, 2023 · 1 comment
Open
5 tasks

Release automation #1

JanCBrammer opened this issue Dec 12, 2023 · 1 comment

Comments

@JanCBrammer
Copy link
Collaborator

JanCBrammer commented Dec 12, 2023

We've started to configure our release automation: https://github.com/IUPAC-InChI/InChI_Dev/blob/main/.github/workflows/release.yml.
In short, every time we tag and publish a new release, a GitHub action uploads zip archives according to the convention on https://www.inchi-trust.org/all-downloadable%20versions/.

We could expand this by automatically building / compiling our release artifacts, i.e., the contents of INCHI-1-BIN such as libinchi.so. In order to do that we could write compilation scripts (essentially just calling make like so) which we then run as part of the release automation. By scripting the compilation, we can run it locally as well as during the automation.
@djb-rwth, we'd need to figure out which version of which compiler to run on which OS. That would pretty much be what you documented in the README, right?

See for example https://github.com/igraph/igraph/blob/master/.github/workflows/build-cmake.yml (thanks @flange-ipb).

TODO:

  • decide if we deprecate 32 bit artifacts
  • run release workflow only if ci workflow passes for the tagged commit that triggered release
  • decide on how to build release artifacts: which compiler(s) to use on which OS (i.e., "release matrix" of compiler by OS)
  • write scripts for each cell in the release matrix (those can be run locally and on ci)
  • update source file headers (Parametrize version and file header #2)
@djb-rwth
Copy link
Collaborator

djb-rwth commented Dec 19, 2023 via email

@JanCBrammer JanCBrammer transferred this issue from another repository Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants