Skip to content

Add GitHub Actions CI for x86_64 package builds#40

Open
MattBlack85 wants to merge 1 commit intomainfrom
claude/ci-x64-builds-Yyxjy
Open

Add GitHub Actions CI for x86_64 package builds#40
MattBlack85 wants to merge 1 commit intomainfrom
claude/ci-x64-builds-Yyxjy

Conversation

@MattBlack85
Copy link
Copy Markdown
Collaborator

Adds automated CI that detects changed packages on push and builds them
using makepkg inside an archlinux:latest container on GitHub Actions.

  • .github/workflows/build-packages.yml: triggers on packages/** changes
    and workflow_dispatch; runs detect → matrix build jobs with
    cmake-python-distributions → simplejpeg dependency ordering preserved
  • ci/detect-changes.sh: parses git diff to find changed package dirs,
    skips aarch64-only packages, classifies for dependency ordering
  • ci/build-package.sh: initialises pacman, creates non-root builder user,
    handles rustup makedeps, runs makepkg -s, uploads .pkg.tar.zst artifacts

Also fixes two pre-existing PKGBUILD bugs that would cause CI failures:

  • phd2: remove distcc cmake launcher flags (not in makedepends)
  • siril: remove leftover beta/rc suffix variables from source URL and
    build paths (1.4.0 is a stable release)

https://claude.ai/code/session_01B8NPiFQAw6JUvsm3abW2yB

Adds automated CI that detects changed packages on push and builds them
using makepkg inside an archlinux:latest container on GitHub Actions.

- .github/workflows/build-packages.yml: triggers on packages/** changes
  and workflow_dispatch; runs detect → matrix build jobs with
  cmake-python-distributions → simplejpeg dependency ordering preserved
- ci/detect-changes.sh: parses git diff to find changed package dirs,
  skips aarch64-only packages, classifies for dependency ordering
- ci/build-package.sh: initialises pacman, creates non-root builder user,
  handles rustup makedeps, runs makepkg -s, uploads .pkg.tar.zst artifacts

Also fixes two pre-existing PKGBUILD bugs that would cause CI failures:
- phd2: remove distcc cmake launcher flags (not in makedepends)
- siril: remove leftover beta/rc suffix variables from source URL and
  build paths (1.4.0 is a stable release)

https://claude.ai/code/session_01B8NPiFQAw6JUvsm3abW2yB
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

Successfully merging this pull request may close these issues.

2 participants