Skip to content

Commit

Permalink
Use system curl in CI/CD for macOS (ARM & x86)
Browse files Browse the repository at this point in the history
  • Loading branch information
lepapareil authored and hurl-bot committed Nov 21, 2024
1 parent 6f28ab1 commit 77731b6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions bin/install_prerequisites_macos.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,9 @@
#!/bin/bash
set -Eeuo pipefail

echo "----- preinstalled curl version -----"
curl --version

echo "----- install prerequisite packages -----"
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=true
brew uninstall --force --ignore-dependencies curl
brew update
brew install -s curl
brew link --force --overwrite curl
CURL_PATH="$(brew --prefix curl)/bin"
export CURL_PATH
echo "CURL_PATH=$CURL_PATH"
PATH="$CURL_PATH:$PATH"
export PATH
brew install bash expect pkg-config squid jq
sudo squid -k shutdown || true
sudo rm -v /dev/shm/squid*.shm >/dev/null 2>&1 || true

0 comments on commit 77731b6

Please sign in to comment.