halide / Halide

a language for fast, portable data-parallel computation
https://halide-lang.org
Other
5.91k stars 1.07k forks source link

Make run-clang-tidy.sh work on macOS #8416

Closed alexreinking closed 2 months ago

alexreinking commented 2 months ago

The run-clang-tidy.sh script was written to be Linux-only. This PR extends support to macOS

Also updates the GHA runner to run the checks when the script changes and to use macos-14, which is beefier than the Ubuntu runners.

alexreinking commented 2 months ago

Indeed macos-14 is substantially faster than the previous ubuntu-20.04 runner. ~11min vs ~16min. ~33%