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

Actually publish macOS releases #27

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Conversation

unflxw
Copy link
Contributor

@unflxw unflxw commented Nov 22, 2024

A previous PR attempted to build macOS releases from an Ubuntu runner, which cannot possibly work.

I then attempted to do the whole build in a macOS runner, which also didn't work, as running Docker on macOS requires Docker Desktop.

This commit follows the agent's approach, using a build matrix to build macOS builds on a macOS runner and Linux builds on an Ubuntu runner, then publishing it from an Ubuntu runner in a separate job.

A [previous PR][oops] attempted to build macOS releases from an
Ubuntu runner, which cannot possibly work.

[oops]: #26

I then [attempted to do the whole build in a macOS runner][whoopsie],
which also didn't work, as running Docker on macOS requires Docker
Desktop.

[whoopsie]: 9907bab...2ed3070

This commit follows [the agent's approach][:brain:], using a build
matrix to build macOS builds on a macOS runner and Linux builds on
an Ubuntu runner, then publishing it from an Ubuntu runner in a
separate job.

[:brain:]: https://github.com/appsignal/appsignal-agent/blob/96b5b6721804e7e15546ed6faf86348b5fa01c13/.github/workflows/publish_release.yml#L81-L100
@backlog-helper
Copy link

Hi @unflxw,

We've found some issues with your Pull Request.

  • This Pull Request does not include a changeset. Add a changeset if the change impacts users and should be included in the changelog upon release. Read more about changesets.
    Ignore this rule by adding [skip changeset] to your Pull Request body. - (More info)

New issue guide | Backlog management | Rules | Feedback

@unflxw
Copy link
Contributor Author

unflxw commented Nov 22, 2024

Merging this so I can try it out, but I would nonetheless be interested in any feedback on how it's done.

@unflxw unflxw merged commit e00226f into main Nov 22, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant