mirror of
https://codeberg.org/Codeberg-CI/examples.git
synced 2025-09-08 19:35:00 -04:00

In this example, I demonstrate how to create useful automation for KiCad hardware projects. The Pipeline can be seen running in https://codeberg.org/ccoenen/Codeberg-KiCad-KiBot-Example or in a modified form in https://codeberg.org/ccoenen/Dustbuster-Communicator --- The automation uses "KiBot", to generate common production files. KiBot can do much more, but I limited this demo to gerber files (used in PCB manufacturing) ibom (used to know which components to place where) and a schematic PDF. It is very likely that projects will want to heavily modify this part of the config anyway, so I only include a starting point. This example _also_ demonstrates how to add the resulting files to the "packages" facility. Co-authored-by: amenthes <opensource@amenthes.de> Reviewed-on: https://codeberg.org/Codeberg-CI/examples/pulls/26 Reviewed-by: 6543 <6543@obermui.de> Co-authored-by: Claudius Coenen <ccoenen@noreply.codeberg.org> Co-committed-by: Claudius Coenen <ccoenen@noreply.codeberg.org>
examples
Example Woodpecker pipeline files (WIP). Pull requests are accepted/welcome.
Example pipeline files
Link | Language | Build System | Comments |
---|---|---|---|
C/make.yml | C | Make | Simple ci for building a Make based C project |
C/meson.yml | C/C++ | meson | CI for meson-based projects. |
C/meson-android.yml | C/C++ | meson + Android NDK | CI for meson-based projects cross-compiling to Android NDK. |
golang/build.yml | golang | golang | Simple ci for building and test a Go project |
golang/build-docker.yml | golang | golang / kaniko | CI to build golang project and build various docker container and publish them on DockerHub |
Jekyll/jekyll.yml | Markdown | Jekyll | CI step to build static website files and publish them to Codeberg Pages using Jekyll |
Hugo/hugo.yml | Markdown | Hugo | CI step to build static website files and publish them to Codeberg Pages with Hugo |
Docker/kaniko.yml | Dockerfile | Kaniko | Minimalistic CI pipeline with clear instructions to push a Docker image |
Docker/buildx.yml | Dockerfile | buildx | Build and publish Docker images for multiple architectures on codeberg |
Python/.woodpecker.yml | Python | Python venv | Standard CI pipeline to test Python packages code on multiple Python distributions. For details check serial-sphinx |
Rust/.woodpecker.yml | Rust | cargo | Simple CI pipeline to run cargo commands |
StandardML/sml.yml | Standard ML | sml | Simple CI pipeline to run SML files |
tectonic/.woodpecker.yml | LaTeX | Tectonic | Builds a TeX file and pushes the resulting PDF file to a given repository. |
NodeJS/11ty.yml | JavaScript | NodeJS | CI to build static websites files and publish them to Codeberg Pages with 11ty |
KiCad/kibot.yml | --- | KiBot | Building gerber files, ibom and a pdf schematic as an example for KiBot use |
More:
Description
Languages
Dockerfile
52.8%
Shell
47.2%