Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build macOS executable for M- series Macs #1

Merged
merged 8 commits into from
Oct 2, 2024
Merged

Conversation

JakenHerman
Copy link
Owner

@JakenHerman JakenHerman commented Sep 28, 2024

I noticed there was a GitHub Action that generated a Windows (.exe) executable, but nothing for macOS. This pull request adds a GitHub Action to generate an executable binary for macOS.

Testing

There is a test step in the GitHub Action, so no manually testing should be necessary, however, if you'd like you can download the artifact produced from the GitHub Action run. You'll need to run chmod +x weasyprint-macos/dist/weasyprint in order to be able to execute, but once you do, you can run ./weasyprint-macos/dist/weasyprint --info to verify the executable is working.

Use cases

This executable can be bundled with Electron or Tauri applications so PDF generation is a possibility without requiring users of the built applications to install additional resources.

@JakenHerman JakenHerman changed the title Jaken/macbuild Build macOS executable for M- series Macs Oct 1, 2024
@JakenHerman JakenHerman added the enhancement New feature or request label Oct 1, 2024
@JakenHerman JakenHerman self-assigned this Oct 1, 2024
@JakenHerman JakenHerman merged commit ae2131b into main Oct 2, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant