using brew test-bot with github actions #1970
Unanswered
ipatch
asked this question in
Tap maintenance and brew development
Replies: 2 comments 16 replies
-
If you need to build bottles for Mojave and Big Sur, you'll probably need to provide your own self-hosted runners. Bottles built in Homebrew/core use self-hosted CI. Using the default workflow will use GitHub runners, and GitHub doesn't provide Mojave runners, while their Big Sur runners are in private preview. |
Beta Was this translation helpful? Give feedback.
16 replies
-
If you replace |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i'm attempting to auto bottle formulae files contained with the homebrew-freecad repo, but before i go blowing up 💣 💥 that repo i've created a little testing ground (if you will) homebrew-freecad-pg13. I've checked in one formula file ie. swig. i'm using the default workflow files when setting up a new homebrew tap. and they don't require much editing out of the box. 👍, however trying to build bottles for the last 3 major versions of macos ie.
i'm unable to build bottles for all three major OSes using brew test-bot if i leave the workflow file as is, ie.
macos-latest
it appears there is no difference betweenmacos-latest
ormacOS-latest
my brew test-bot workflow completes then i can run the brew pr workflow to publish the bottle. (obviously triggering that workflow after the first workflow has completed).however, using
macos-latest
only generates a bottle for catalina i would like to have bottles for all 3 above mentioned OSes.is this presently possible with the current brew test-bot setup. i know homebrew-core provides bottles for all 3 OSes. so i'm just not sure what i'm missing here.
and i went poking around the homebrew-core repo, and saw mention of several runners, experimented with the ones defined below, but my jobs would never start.
https://github.com/Homebrew/homebrew-core/blob/master/.github/workflows/tests.yml#L77
basically, i'd to "auto" build bottles of the tap within the homebrew-freecad repo, and have bottles for mojave, catalina, and big sur if possible.
probably the only "documentation" i've really come across that explains the use of building bottle for a tap using github actions would be, https://brew.sh/2020/11/18/homebrew-tap-with-bottles-uploaded-to-github-releases/
and i didn't see much info / documentation regarding test bot within the test bot repo itself.
Beta Was this translation helpful? Give feedback.
All reactions