Commit Graph

12 Commits

Author SHA1 Message Date
Ralf Gommers
2418a20f1f Cancel running CI jobs when new changes are pushed to a PR
The `group` expression ensures that the cancel-in-progress
behavior is to only cancel if a new commit is pushed to the PR for
which the job is running, not other PRs.

This is a fairly standard snippet, used also in CI jobs for NumPy
and other projects.
2023-11-10 16:34:47 +01:00
Ralf Gommers
6b8379d6d9 Run nightly Homebrew cron job only on the main repo, not on forks
I noticed this because GitHub emailed me that it would disable the
nightly job because it hadn't changed for 3 months. It currently takes
30-50 minutes daily, and by default runs on all forks of the main
repository that have the relevant workflow yaml file. That serves little
purpose and wastes quite a bit of energy - so disable the runs outside
of the main repo.

This will not disable the runs on forks already made in the past that
contain this workflow file, but it does save 3 months worth of runs on
every new fork that is created.

[skip ci]
2023-10-19 11:38:26 +02:00
Martin Kroeker
c718de14c5 Update nightly-Homebrew-build.yml
add NO_INSTALL_FROM_API to re-enable --HEAD
2023-02-02 09:42:11 +01:00
Martin Kroeker
5be8b43fa9 Disable dependents check to avoid python 3.11 conflict 2023-01-04 16:56:38 +01:00
Alex
11cd108095 build: harden nightly-Homebrew-build.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-26 13:46:34 +02:00
Martin Kroeker
8c25b440a0 revert "try to work around gcc update problems"
...as homebrew has dropped at least gcc8 now
2021-06-06 19:17:36 +02:00
Martin Kroeker
da8d7f09f1 try to work around gcc update problems 2021-01-13 09:46:53 +01:00
Martin Kroeker
f80dd2151e xcode 11.4.1 for homebrew ? 2020-04-23 14:31:09 +02:00
Martin Kroeker
4412ee1754 Switch homebrew build env to new xcode 11.4
default 11.3.1 in the github image is causing brew to fail with "outdated xcode" message
2020-04-23 10:54:46 +02:00
Izaak Beekman
1a88c4ab26 Fix bottle upload problem & typo 2020-02-17 13:36:17 -05:00
Izaak Beekman
0b44802164 Test push & PRs only when workflow file changes
Also, add comments to clarify what the test is testing
2020-02-17 13:22:09 -05:00
Izaak Beekman
2c242b4cef Add Github Action to build development branch nightly with Homebrew 2020-02-17 12:36:37 -05:00