fix: resolve macos compile issue and debian pip policy in ci

This commit is contained in:
tianrking committed 2026-03-20 14:47:36 +08:00
1 parent 4b9daac793
commit ac669b101d
2 files changed
+4 -3

No files matched your search

+4 -2
View File
@@ -77,7 +77,7 @@ jobs:
if [ "${DISTRO_FAMILY}" = "deb" ]; then
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install -y \
curl ca-certificates git build-essential pkg-config python3 python3-pip
curl ca-certificates git build-essential pkg-config python3 python3-pip python3-venv
else
dnf install -y \
curl ca-certificates git gcc gcc-c++ make pkgconf-pkg-config python3 python3-pip
@@ -88,7 +88,9 @@ jobs:
rustup --version
cargo --version
pip3 install --no-input proxy.py pproxy
python3 -m venv /tmp/pc-venv
. /tmp/pc-venv/bin/activate
pip install --no-input proxy.py pproxy
nohup python3 -m pproxy -l socks5://127.0.0.1:19080 >/tmp/pproxy-socks5.log 2>&1 &
nohup python3 -m proxy --hostname 127.0.0.1 --port 18080 >/tmp/proxy-http.log 2>&1 &
sleep 2