My name is Ladislas, I’m one of the maintainer of the osx-cross/avr tap used to build the AVR toolchain.
I’ve been playing recently with
brew test-bot in order to create bottle of the different formulae and save a lot of compilation time for our users.
I’ve managed to make in work locally with
brew test-bot --ci-upload and finally
brew pull --bottle and I’m now going to implement that for Azure Pipeline.
The goal is to obviously automate the process of building bottle from PRs but also to have a cron job to test if dependencies have changed and if a bottle should be rebuilt.
My first question is:
How would one test if a rebuild is needed or not?
My second question is:
brew test-bot formulae_nametwice locally, I end up with two different
sha512– is this expected behavior? Am I doing something wrong?
Thanks a lot for your kind help!
When I have everything figured out, I’ll write a tutorial for all of this!