Skip to content

feat: support --HEAD option for formula - #9

Closed
wu21-web wants to merge 1 commit into
mainfrom
head
Closed

feat: support --HEAD option for formula#9
wu21-web wants to merge 1 commit into
mainfrom
head

Conversation

@wu21-web

Copy link
Copy Markdown
Collaborator

Copilot Summary:
This pull request adds support for building and testing the pixeval formula from the latest HEAD source, including a new GitHub Actions workflow and significant updates to the formula to handle building from source using the .NET SDK. The changes improve cross-platform compatibility and automate the build and test process for both macOS and Linux (including ARM).

Support for building from HEAD:

  • Added a head block to pixeval.rb to allow building from the latest source, and added a build dependency on dotnet.
  • Implemented a custom build process for --HEAD builds, including platform-specific logic for macOS (bundling as a .app and codesigning) and Linux (fixing RPATH and creating a wrapper script).

Automation and CI:

  • Added a new GitHub Actions workflow .github/workflows/test-head.yml to automate building and testing the pixeval formula from HEAD on multiple platforms (macOS Intel, macOS ARM, Ubuntu, Ubuntu ARM).

Cross-platform improvements:

  • Introduced the dotnet_rid helper method to determine the correct .NET runtime identifier for the current platform and architecture, ensuring correct builds on all supported systems.

@wu21-web

Copy link
Copy Markdown
Collaborator Author

Closing due to low priority.

@wu21-web wu21-web closed this Jul 30, 2026
@wu21-web
wu21-web deleted the head branch July 30, 2026 14:37
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.

1 participant