Commit Graph

136 Commits

Author SHA1 Message Date
Douglas Eichelberger 0cc6c09f16 Explicitly require system_command in cmds 2024-01-31 11:52:00 -08:00
Bevan Kay f371a3da09
cmd/lib/check: skip checking for running firefox, unless a firefox cask 2024-01-24 09:34:18 +11:00
Issy Long 5312c3d2b9
Fix RuboCop `Style/RedundantFreeze` offenses
- Yet another whackamole for https://github.com/Homebrew/brew/pull/16501.
2024-01-19 14:16:43 +00:00
Bevan Kay eb0b288617
ci_matrix: pass correct path when using manual auditing 2024-01-09 09:26:26 +11:00
Markus Reiter bb1e02337b
Fix code style. 2024-01-06 12:00:12 +01:00
Markus Reiter c6fbf1ff71
Add `ci-skip-homepage` label. 2024-01-06 11:44:16 +01:00
Markus Reiter 8ba4d0fd50
Use `--new` instead of `--new-cask`. 2023-12-05 20:38:53 +01:00
Bevan Kay 2dfe8d7143
ci: fix manual auditing 2023-12-03 09:22:20 +11:00
Patrick Linnane 08129404ee
Merge pull request #160823 from bevanjkay/manual-auditing
ci: add ability to manually audit a list of casks
2023-11-30 09:26:21 -08:00
Bevan Kay a45d778228
Update cmd/lib/check.rb
Co-authored-by: Bo Anderson <mail@boanderson.me>
2023-11-30 14:22:49 +11:00
Bevan Kay 93aab4d1f4
`cmd/lib/check` suppress stderr 2023-11-30 12:34:25 +11:00
Bevan Kay a6ca6ea1a8
ci: setup workflow for manual cask auditing 2023-11-28 19:53:37 +11:00
Sam Ford 302dcb7032
ci_matrix: convert version symbols to MacOSVersion 2023-07-21 11:08:11 -04:00
Markus Reiter 4f2bb32abe
Use `MacOSVersion` for CI matrix. (#146856) 2023-05-10 07:39:08 +08:00
Razvan Azamfirei 52fc0bd53c
ci-skip-livecheck: fix typo (#146570)
fix typo
2023-05-05 09:45:15 -07:00
Razvan Azamfirei 2c742e4269
ci-skip-livecheck: skip https availability (#146560) 2023-05-05 09:58:18 -04:00
Markus Reiter 2140259c4a
Add `macos-13` to CI matrix. (#145752) 2023-04-25 01:09:35 +02:00
Razvan Azamfirei 5b003c1e81
CI: add prerelease exceptions to ci-skip-repository (#145600) 2023-04-21 12:54:16 -04:00
Markus Reiter 75e005fbd7
Fetch and audit ARM in CI. (#143743) 2023-04-16 15:14:11 -07:00
Markus Reiter ee62b3c4ac
Remove `--appcast` argument. (#144193) 2023-03-30 16:48:38 +02:00
Markus Reiter 6a1f1d4049
Fix CI matrix. (#143773) 2023-03-26 09:46:11 +08:00
Markus Reiter 7145628723
Speed up CI. (#142918) 2023-03-12 09:58:08 +00:00
Bevan Kay ff5e31652b
ci_matrix: add label to skip livecheck_min_os audit (#142080)
* ci_matrix: add label to skip livecheck_min_os audit

* add rerun trigger
2023-02-28 16:59:50 +08:00
Sam Ford 7e569590c7
CI: Support ci-skip-livecheck label (#141987)
This adds support for a ci-skip-livecheck label to cask repository CI,
as a way of skipping livecheck audits when a check works locally and
exclusively fails in the CI environment. This is a rare situation and
the label should not be used for any other purpose at this time.

I previously implemented support for this label in homebrew/core (and
test-bot) to handle this situation (with the same restrictions on its
use), so this commit aligns the core/cask repositories in this regard.
The practical effects of the label differ but the fundamental idea
remains the same.

Co-authored-by: Bevan Kay <email@bevankay.me>
2023-02-26 09:02:48 +11:00
Bevan Kay 593a567620
ci_matrix: fix repository audit skipping (#141781) 2023-02-24 20:55:30 +08:00
Markus Reiter 24deb460c1
Add support for skipping `repository` audit. (#140767) 2023-02-10 06:28:47 +08:00
TAKAHASHI Shuuji b884ab1c07
ci: Update GitHub Actions to avoid set-output deprecation (#138689)
Co-authored-by: Bo Anderson <mail@boanderson.me>
2023-01-27 03:45:31 +00:00
Bo Anderson c474421750
Adapt to setup-homebrew changes (#140262) 2023-01-27 11:05:39 +08:00
Bo Anderson 154e31be69
Improve CI coverage for Casks using `on_os` blocks (#133704) 2022-10-18 19:27:15 -04:00
owine 5a0d5000aa
Ignore com.apple.Terminal in CI (#130427) 2022-08-26 04:12:15 +08:00
Markus Reiter 50ecd0265e
Ignore `com.apple.Preview` in CI. (#129758) 2022-08-15 11:14:38 +08:00
Bevan Kay 6bbca17071
`cmd/lib/ci_matrix.rb`: Deprecate `:catalina` runner (#129114)
Update ci_matrix.rb

> The macOS 10.15 Actions runner image started our deprecation process on 5/31/22 and will be fully unsupported by 8/30/22. To raise awareness of the upcoming removal, jobs using macOS 10.15 will temporarily fail during scheduled time periods defined below:

    July 21, 12:00 UTC – July 22, 18:00 UTC
    July 27, 00:00 UTC – July 28, 00:00 UTC
    August 3, 00:00 UTC – August 4, 00:00 UTC
    August 15, 00:00 UTC – August 16, 00:00 UTC
    August 26, 00:00 UTC – August 27, 00:00 UTC

https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/



This is currently causing failures on PRs that explicitly reference `:catalina` in a comparator.
2022-08-03 20:01:39 +10:00
Rylan Polster 5347a6d73b
`ci_matrix`: check `MacOSVersions::SYMBOLS` (#126796) 2022-06-29 13:58:53 -04:00
Bevan Kay e034350302
cmd/lib/check.rb: fix regex error (#124930) 2022-06-06 19:53:45 +10:00
Bo Anderson 26ed6e788f
cmd/lib/ci_matrix: only use macos-10.15 when needed; prefer macos-11 (#124506) 2022-05-30 10:50:31 +10:00
Bevan Kay b70db47b7d
cmd/lib/check.rb: skip known false positive kexts (#124274) 2022-05-25 13:21:42 +08:00
Bevan Kay 5118bdc5c6
`cmd/lib/check.rb`: skip apple system launchjobs (#123352)
* cmd/lib/check.rb: skip apple system launchjobs

* use constant for repeated regex
2022-05-12 13:02:08 +08:00
Bevan Kay e428eedace
cmd/lib/ci_matrix: fix depends_on regex (#123093)
* fix regex

* ci_matrix: rework `depends_on macos` array regex

* ci_matrix: error on unhandled `depends_on macos`

Co-authored-by: Sam Ford <1584702+samford@users.noreply.github.com>
2022-05-10 15:41:44 +10:00
Sean Molenaar da75569c3d
ci_matrix: use macOS 12 runner (#122525)
* ci_matrix: use macOS 12 runner

* fix style

Co-authored-by: Bevan Kay <email@bevankay.me>
2022-04-26 12:36:28 +02:00
Mike McQuaid e89aff38cf
Fix brew style (#111896)
* android-ndk: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* armitage: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* bandage: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* blender: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* chromium: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* copyq: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* crystax-ndk: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* cutter: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* dwarf-fortress: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* dynamodb-local: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* gitfiend: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* gloomhaven-helper: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* gogs: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* gqrx: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* inkscape: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* kdiff3: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* kitty: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* klogg: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* lbry: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* libreoffice: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* lilypond: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* meld: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* musescore: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* nudge: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* p4v: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* prince: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* steamcmd: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* subsync: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* tiled: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* uniflash: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* upic: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* vlc: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* cmd/lib/check: fix brew style.

Part of https://github.com/Homebrew/brew/pull/12152.

* bump chromium version(s)

Co-authored-by: Bevan Kay <email@bevankay.me>
2021-09-30 14:17:54 +01:00
Logicer fd3b822cf7 Default to running on all runners 2021-07-21 11:15:25 +08:00
Logicer cb64f58f42 Fix `depends_on macos:` format compatibility 2021-07-21 11:15:25 +08:00
Logicer 4bcc4b4ed6 Fix Style (again again) 2021-07-21 11:15:25 +08:00
Logicer 6aab459eb4 Fix Style (again) 2021-07-21 11:15:25 +08:00
Logicer e38c809896 Fix Style 2021-07-21 11:15:25 +08:00
Logicer ab4f789a9a [CI] Respect `depends_on macos:` 2021-07-21 11:15:25 +08:00
Markus Reiter d6d3bd9b3a
Fix runner selection. (#103370) 2021-04-07 17:56:09 -04:00
Nanda H Krishna 01798c1c34
cmd/lib/generate-matrix.rb: update GitHub API call (#99993) 2021-02-18 07:43:56 +08:00
Markus Reiter 7e6c5cf62f Don't quit Installer, Safari, System Events and System Preferences. 2021-01-08 07:48:47 +01:00
Markus Reiter b07c9bbb4d Fix job name. 2021-01-08 05:03:59 +01:00