]> 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 22:28:26 +0000 (14:28 -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.

.cirrus.yml

index 51d1fc434000d65f116dd172bf901d8fe5ff77f3..666747e22e82c5c9daac75d7f355aa6a48127c3d 100644 (file)
@@ -58,6 +58,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