zarfld / LinuxCnc_PokeysLibComp

Pokeys comp for LinuxCnc using https://bitbucket.org/mbosnak/pokeyslib.git
MIT License
5 stars 0 forks source link

Build CI #173

Open zarfld opened 1 month ago

zarfld commented 1 month ago
  1. Runs-on: Use ubuntu-24.04 for the main steps, like LinuxCNC.

  2. Build Matrix: Add a matrix with Debian versions (bullseye, bookworm, sid) for package building.

  3. Dependency Management: Install eatmydata, git, python3, devscripts, and build-essential.

  4. Fetch Submodules: Always clone the repository with submodules.

  5. Configure: Use ./autogen.sh and ./configure, disable runtime dependency checks.

  6. Build and Test: Use make and test commands (pycheck, etc.).

  7. Artifact Building: Build Debian packages for the matrixed OS versions.

  8. Optimization: Use eatmydata to reduce IO latency during package installation.

This will closely mirror LinuxCNC's CI while maintaining efficiency.

https://github.com/LinuxCNC/linuxcnc/blob/master/.github/workflows/ci.yml