Skip to content

Migrate CICD to GH actions - #62

Open
juhoinkinen wants to merge 13 commits into
mainfrom
migrate-cicd-to-gh-actions
Open

Migrate CICD to GH actions#62
juhoinkinen wants to merge 13 commits into
mainfrom
migrate-cicd-to-gh-actions

Conversation

@juhoinkinen

Copy link
Copy Markdown
Member

This is a cleaned-up version of the PR to the previous fork: NatLibFi#4

@juhoinkinen

Copy link
Copy Markdown
Member Author

The rust-build job still fails. In the fork I had unintentionally updated also the Cargo.lock at repo root, which is why the CI passed there: https://github.com/NatLibFi/omikuji2/blob/6b242f1787332ec7f2485019db022c141b04d936/Cargo.lock

@juhoinkinen
juhoinkinen marked this pull request as ready for review August 25, 2026 19:35
@juhoinkinen
juhoinkinen requested a lite review from Copilot August 25, 2026 19:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Migrates the project’s CI/CD from Azure Pipelines to GitHub Actions, including building/testing Rust + Python artifacts and publishing Python distributions to PyPI.

Changes:

  • Add a GitHub Actions CI workflow to run Rust checks/tests and build/test Python sdist and wheels across Linux (manylinux), macOS, and Windows.
  • Add a GitHub Actions release workflow intended to publish built artifacts to PyPI after successful CI runs on tags.
  • Update packaging/build logic for macOS to produce a universal2 (x86_64 + arm64) native library, and update README badge; remove Azure Pipelines configs.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
setup.py Updates native build steps, including macOS universal2 dylib creation.
README.md Replaces Azure Pipelines badge with GitHub Actions CI badge.
.github/workflows/ci.yaml Introduces GitHub Actions CI matrix for Rust + Python builds/tests and artifact uploads.
.github/workflows/release.yaml Introduces GitHub Actions workflow intended to publish artifacts to PyPI after CI completion.
.ci/azure-setup-rust.yml Removes Azure Pipelines Rust setup template.
.ci/azure-python-build.yml Removes Azure Pipelines Python build template.
.ci/azure-pipelines.yml Removes Azure Pipelines pipeline definition.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/ci.yaml
Comment thread .github/workflows/ci.yaml
Comment thread setup.py
Comment thread .github/workflows/release.yaml Outdated
juhoinkinen and others added 4 commits August 28, 2026 14:49
It seems that Cargo has been creating the directory, but this ensures it exists

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
They are supported, in the sense that CI passes
@juhoinkinen
juhoinkinen requested a review from osma August 28, 2026 13:34
head_branch is set to the tag name

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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