From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Sun, 19 Nov 2023 02:36:42 +0000 (-0700) Subject: simplify usage of homebrew on CI macos-11. (#1234) X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2^2~128 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d9448e835e4478418973b2d93305ed1a1dab2cae;p=gpsbabel.git simplify usage of homebrew on CI macos-11. (#1234) homebrew installs are taking an extreme amount of time on macos-11, with the following message: Warning: You are using macOS 11. We (and Apple) do not provide support for this old version. It is expected behaviour that some formulae will fail to build in this old version. It is expected behaviour that Homebrew will be buggy and slow. To alleviate this pain skip the installation of jing and all it's dependencies on macos-11. --- diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 31ad8eced..cdd796ec1 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -75,7 +75,10 @@ jobs: # brew update # skip update for now to avoid link issues AND many slow dependency upGRADES. brew install ninja brew install docbook docbook-xsl fop gnu-sed - brew install jing-trang + # brew install is taking forever on macos-11, skip jing-trang and all it's dependencies. + if [ "${{ matrix.os }}" != "macos-11" ]; then + brew install jing-trang + fi - name: Script env: