]> The Tcpdump Group git mirrors - tcpdump/commitdiff
CI: install coreutils with Homebrew on macOS. [skip appveyor]
authorGuy Harris <[email protected]>
Sun, 15 Dec 2024 21:54:01 +0000 (13:54 -0800)
committerGuy Harris <[email protected]>
Sun, 15 Dec 2024 23:02:04 +0000 (15:02 -0800)
We need it because we do an install of libpcap, including "make check",
and "make check" requires Homebrew's coreutils in order to get the
timeout command.

(cherry picked from commit 673a2fedf68a562ccf4612b467f373168b85552b)

.cirrus.yml

index 4a1af010e492483996e1f1fa7fc8a7e00106404d..6f2233f8503b56f0de8fe3e075dd6b2b5ebd002a 100644 (file)
@@ -57,6 +57,10 @@ macos_task:
   script:
     - brew update >/dev/null
     - brew install libsmi | grep -v '%'
+    # We need coreutils so that building, checking, and installing
+    # libpcap works, as *that* requires coreutils in order to
+    # install the timeout command in macOS.
+    - brew install coreutils
     - echo '$ git clone [...] libpcap.git'
     - git -C .. clone --depth ${CIRRUS_CLONE_DEPTH} --branch=master --quiet ${LIBPCAP_GIT}
     - ./build_matrix.sh