mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00

* origin/topic/timw/ci-macos-upgrade-pip:
CI: Unconditionally upgrade pip on macOS
(cherry picked from commit e8d91c8227
)
14 lines
379 B
Bash
Executable file
14 lines
379 B
Bash
Executable file
#!/bin/sh
|
|
|
|
echo "Preparing macOS environment"
|
|
sysctl hw.model hw.machine hw.ncpu hw.physicalcpu hw.logicalcpu
|
|
set -e
|
|
set -x
|
|
|
|
brew update
|
|
brew upgrade cmake
|
|
brew install openssl@3 swig bison flex ccache libmaxminddb
|
|
|
|
# Upgrade pip so we have the --break-system-packages option.
|
|
python3 -m pip install --upgrade pip
|
|
python3 -m pip install --user --break-system-packages websockets
|