~retzoh/manifest_templates

Working CI manifest templates in various languages
84b320b0 — retzoh 15 days ago
Contributing: removed trailing dot after subscription address
0aab8a0c — retzoh 16 days ago
Python builds: fixed incorrect comment
5b891fef — retzoh 17 days ago
Python builds: added nixos_latest

refs

master
browse log

clone

read-only
https://git.sr.ht/~retzoh/manifest_templates
read/write
git@git.sr.ht:~retzoh/manifest_templates

Sr ht build manifest templates

This repository is a collection of language-specific CI setups for sr.ht.

Its purpose is to let you quickly setup new CI pipelines for your programming language by copying the appropriate manifest template.

Each language support comes with a hello world project on which the pipelines run.

Subscribe to updates by sending a mail to ~retzoh/manifest-templates-updates+subscribe@lists.sr.ht

git.sh.ht repository

https://git.sr.ht/~retzoh/manifest_templates

github repository

https://github.com/Retzoh/manifest_templates

The master branches on sr.ht and github are synchronized through this manifest at each commit on master

Index

Setup a pipeline

  • Pick your language in the repository tree, open the .builds folder and choose yml file named after the architecture (man) you will be working on.
  • Put it under .builds/ in your repository
  • Adapt the source and environment lists to match your needs

Supported languages

Basic CI pipeline structure

  • install dependencies
  • build the project (if needed)
  • install the project (if needed)
  • run project tests
  • run project

Repository structure

  • [languages]
    • .builds
      • [architectures].yml
    • src
      • minimal source code to test the CI pipelines on
    • tests
      • minimal testing utilities to test the CI on
    • language-specific build/setup files

Contributing

Notes on how to contribute can be found in CONTRIBUTING.md (sr.ht link) , (github link).

Future work

Discussion

Have an issue or something to discuss about the project ? This tracker is the appropriate place to bring it up.